firefly-iii/resources/views/v1/new-user/index.twig
2019-08-10 16:50:37 +02:00

72 lines
2.7 KiB
Twig

{% extends "./layout/default" %}
{% block breadcrumbs %}
{{ Breadcrumbs.render(Route.getCurrentRoute.getName) }}
{% endblock %}
{% block content %}
<form action="{{ route('new-user.submit') }}" method="post" id="store" class="form-horizontal">
<input type="hidden" name="_token" value="{{ csrf_token() }}"/>
<div class="row">
<div class="col-lg-6 col-lg-offset-3 col-md-12 col-xs-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">{{ 'getting_started'|_ }}</h3>
</div>
<div class="box-body">
<p>
<strong>{{ 'welcome'|_ }}</strong>
</p>
<p>
{{ 'to_get_started'|_ }}
</p>
{{ ExpandedForm.text('bank_name') }}
{{ CurrencyForm.balanceAll('bank_balance') }}
<p class="text-success">
{{ 'currency_not_present'|_ }}
</p>
<p>
{{ 'savings_balance_text'|_ }}
</p>
{{ ExpandedForm.number('savings_balance',0) }}
<p>
{{ 'set_preferred_language'|_ }}
</p>
<div id="language_holder" class="form-group">
<label for="language_holder_select" class="col-sm-4 control-label">{{ 'language'|_ }}</label>
<div class="col-sm-8">
<select class="form-control" id="lang_holder" name="language">
{% for key, lang in Config.get('firefly.languages') %}
<option {% if language == key %}
selected
{% endif %} value="{{ key }}">{{ lang.name_locale }} ({{ lang.name_english }})</option>
{% endfor %}
</select>
</div>
</div>
<p>
{{ 'finish_up_new_user'|_ }}
</p>
</div>
<div class="box-footer">
<input type="submit" name="submit" value="{{ 'submit'|_ }}" class="btn btn-success pull-right"/>
</div>
</div>
</div>
</div>
</form>
{% endblock %}