2015-05-02 01:32:20 -05:00
|
|
|
{% extends "./layout/default.twig" %}
|
|
|
|
{% block content %}
|
|
|
|
{{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName) }}
|
|
|
|
{{ 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">
|
|
|
|
<div class="panel panel-primary">
|
|
|
|
<div class="panel-heading">
|
2015-05-09 15:42:45 -05:00
|
|
|
<i class="fa fa-exclamation"></i> {{ 'mandatoryFields'|_ }}
|
2015-05-02 01:32:20 -05:00
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
{{ ExpandedForm.text('name') }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-6 col-md-6 col-sm-12">
|
|
|
|
<!-- panel for options -->
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
2015-05-09 15:42:45 -05:00
|
|
|
<i class="fa fa-bolt"></i> {{ 'options'|_ }}
|
2015-05-02 01:32:20 -05:00
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
{{ 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-05-21 16:05:31 -05:00
|
|
|
<i class="fa fa-plus-circle"></i> {{ 'store_new_budget'|_ }}
|
2015-05-02 01:32:20 -05:00
|
|
|
</button>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|