firefly-iii/resources/views/currencies/create.twig

47 lines
1.8 KiB
Twig
Raw Normal View History

2016-11-06 01:11:43 -06:00
{% extends "./layout/default" %}
2015-06-19 13:59:14 -05:00
{% block breadcrumbs %}
2015-05-02 03:37:16 -05:00
{{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName) }}
2015-06-19 13:59:14 -05:00
{% endblock %}
{% block content %}
2016-12-05 13:01:01 -06:00
<form method="POST" action="{{ route('currencies.store') }}" accept-charset="UTF-8" class="form-horizontal" id="store">
<input name="_token" type="hidden" value="{{ csrf_token() }}">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3>
</div>
<div class="box-body">
{{ ExpandedForm.text('name',null,{'maxlength' : 48}) }}
{{ ExpandedForm.text('symbol',null,{'maxlength': 8}) }}
{{ ExpandedForm.text('code',null,{'maxlength' : 3}) }}
{{ ExpandedForm.integer('decimal_places',3,{'maxlength' : 2,'min': 0,'max': 12}) }}
</div>
2015-06-21 08:09:10 -05:00
</div>
2015-05-02 03:37:16 -05:00
</div>
2015-05-02 03:37:16 -05:00
<div class="col-lg-6 col-md-6 col-sm-12">
2015-05-02 03:37:16 -05:00
<!-- panel for options -->
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">{{ 'options'|_ }}</h3>
</div>
<div class="box-body">
{{ ExpandedForm.optionsList('create','currency') }}
</div>
<div class="box-footer">
<button type="submit" class="btn pull-right btn-success">
{{ 'store_currency'|_ }}
</button>
</div>
2015-06-21 08:09:10 -05:00
</div>
2015-05-02 03:37:16 -05:00
</div>
2015-06-21 08:09:10 -05:00
</div>
</form>
2015-05-02 03:37:16 -05:00
{% endblock %}