diff --git a/app/Support/ExpandedForm.php b/app/Support/ExpandedForm.php index 1e65ebf1aa..569cbd6b0b 100644 --- a/app/Support/ExpandedForm.php +++ b/app/Support/ExpandedForm.php @@ -38,6 +38,8 @@ class ExpandedForm $options['min'] = '0.01'; $defaultCurrency = isset($options['currency']) ? $options['currency'] : Amt::getDefaultCurrency(); $currencies = Amt::getAllCurrencies(); + unset($options['currency']); + unset($options['placeholder']); $html = View::make('form.amount', compact('defaultCurrency', 'currencies', 'classes', 'name', 'label', 'value', 'options'))->render(); return $html; @@ -140,6 +142,8 @@ class ExpandedForm $options['step'] = 'any'; $defaultCurrency = isset($options['currency']) ? $options['currency'] : Amt::getDefaultCurrency(); $currencies = Amt::getAllCurrencies(); + unset($options['currency']); + unset($options['placeholder']); $html = View::make('form.balance', compact('defaultCurrency', 'currencies', 'classes', 'name', 'label', 'value', 'options'))->render(); return $html; @@ -181,6 +185,7 @@ class ExpandedForm $options = $this->expandOptionArray($name, $label, $options); $classes = $this->getHolderClasses($name); $value = $this->fillFieldValue($name, $value); + unset($options['placeholder']); $html = View::make('form.date', compact('classes', 'name', 'label', 'value', 'options'))->render(); return $html; @@ -316,6 +321,8 @@ class ExpandedForm $options = $this->expandOptionArray($name, $label, $options); $classes = $this->getHolderClasses($name); $selected = $this->fillFieldValue($name, $selected); + unset($options['autocomplete']); + unset($options['placeholder']); $html = View::make('form.select', compact('classes', 'name', 'label', 'selected', 'options', 'list'))->render(); return $html; diff --git a/resources/twig/accounts/show.twig b/resources/twig/accounts/show.twig index 1236ba546e..621c78171b 100644 --- a/resources/twig/accounts/show.twig +++ b/resources/twig/accounts/show.twig @@ -5,57 +5,58 @@ {% endblock %} {% block content %} -
-
-
-
-

{{ account.name }}

+
+
+
+
+

{{ account.name }}

- - -
-
+
+
+
-
-
-
-
-
-

{{ 'transactions'|_ }}

-
-
- {% include 'list/journals.twig' with {sorting:true} %} +
+
+
+
+

{{ 'transactions'|_ }}

+
+
+ {% include 'list/journals.twig' with {sorting:true} %} +
- {% endblock %} +{% endblock %} - {% block scripts %} - - - - - - - +{% block scripts %} + + + + + + + - {% endblock %} +{% endblock %} diff --git a/resources/twig/bills/create.twig b/resources/twig/bills/create.twig index ba013a9289..b9c8ba62dd 100644 --- a/resources/twig/bills/create.twig +++ b/resources/twig/bills/create.twig @@ -55,13 +55,6 @@
-
-
-

- -

-
-
{{ Form.close|raw }} diff --git a/resources/twig/form/amount.twig b/resources/twig/form/amount.twig index 765b200feb..21cffad8c8 100644 --- a/resources/twig/form/amount.twig +++ b/resources/twig/form/amount.twig @@ -4,7 +4,7 @@