{% extends "./layout/default.twig" %} {% block breadcrumbs %} {{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName) }} {% endblock %} {% block content %} {{ Form.open({'class' : 'form-horizontal','id' : 'preferences'}) }}

{{ 'pref_home_screen_accounts'|_ }}

{{ 'pref_home_screen_accounts_help'|_ }}

{% for account in accounts %}
{% endfor %}

{{ 'pref_budget_settings'|_ }}

{{ 'pref_budget_settings_help'|_ }}

{{ ExpandedForm.amount('budgetMaximum',budgetMaximum,{'label' : 'Budget maximum'}) }}

{{ 'pref_custom_fiscal_year'|_ }}

{{ 'pref_custom_fiscal_year_help'|_ }}

{% set isCustomFiscalYear = customFiscalYear == 1 ? true : false %} {{ ExpandedForm.checkbox('customFiscalYear','1',isCustomFiscalYear,{ 'label' : 'pref_custom_fiscal_year_label'|_ }) }} {{ ExpandedForm.date('fiscalYearStart',fiscalYearStart,{ 'label' : 'pref_fiscal_year_start_label'|_ }) }}

{{ 'pref_view_range'|_ }}

{{ 'pref_view_range_help'|_ }}

{{ 'pref_languages'|_ }}

{{ 'pref_languages_help'|_ }}

{% for key, lang in Config.get('firefly.languages') %} {% if lang.complete == true or (lang.complete == false and showIncomplete) %}
{% endif %} {% endfor %}

{{ 'pref_two_factor_auth'|_ }}

{{ 'pref_two_factor_auth_help'|_ }}

{{ Form.close|raw }} {% endblock %}