firefly-iii/resources/twig/budgets/create.twig

50 lines
1.3 KiB
Twig
Raw Normal View History

2015-05-02 01:32:20 -05:00
{% extends "./layout/default.twig" %}
2015-06-19 13:59:14 -05:00
{% block breadcrumbs %}
2015-05-02 01:32:20 -05:00
{{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName) }}
2015-06-19 13:59:14 -05:00
{% endblock %}
{% block content %}
2015-05-02 01:32:20 -05:00
{{ Form.open({'class' : 'form-horizontal','id' : 'store','url' : route('budgets.store')}) }}
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12">
2015-06-20 00:29:25 -05:00
<div class="box box-primary">
<div class="box-header with-border">
2015-06-20 02:54:01 -05:00
<h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3>
2015-05-02 01:32:20 -05:00
</div>
2015-06-20 00:29:25 -05:00
<div class="box-body">
2015-05-02 01:32:20 -05:00
{{ ExpandedForm.text('name') }}
</div>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-12">
<!-- panel for options -->
2015-06-20 00:29:25 -05:00
<div class="box">
<div class="box-header with-border">
2015-06-20 02:54:01 -05:00
<h3 class="box-title">{{ 'options'|_ }}</h3>
2015-05-02 01:32:20 -05:00
</div>
2015-06-20 00:29:25 -05:00
<div class="box-body">
2015-05-02 01:32:20 -05:00
{{ ExpandedForm.optionsList('create','budget') }}
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<p>
<button type="submit" class="btn btn-lg btn-success">
2015-06-20 02:54:01 -05:00
<h3 class="box-title">{{ 'store_new_budget'|_ }}</h3>
2015-05-02 01:32:20 -05:00
</button>
</p>
</div>
</div>
</form>
{% endblock %}