{% extends "./layout/default.twig" %} {% block content %} {{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, what) }}
Mandatory fields
{{ ExpandedForm.text('name') }}
{% if what == 'asset' %}
Optional fields
{{ ExpandedForm.balance('openingBalance') }} {{ ExpandedForm.date('openingBalanceDate', phpdate('Y-m-d')) }} {{ ExpandedForm.select('accountRole', Config.get('firefly.accountRoles'),null,{'helpText' : 'Any extra options resulting from your choice can be set later.'}) }} {{ ExpandedForm.balance('virtualBalance') }}
{% endif %}
Options
{{ ExpandedForm.optionsList('create','account') }}

{% endblock %}