mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 10:47:00 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			46 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Twig
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Twig
		
	
	
	
	
	
| {% extends "./layout/default.twig" %}
 | |
| {% block content %}
 | |
|     {{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, currency) }}
 | |
|     {{ Form.model(currency, {'class' : 'form-horizontal','id' : 'update','url' : route('currency.update',currency.id)}) }}
 | |
| 
 | |
| <input type="hidden" name="id" value="{{currency.id}}" />
 | |
| <div class="row">
 | |
|     <div class="col-lg-6 col-md-6 col-sm-12">
 | |
|         <div class="panel panel-primary">
 | |
|             <div class="panel-heading">
 | |
|                 <i class="fa {{ subTitleIcon }}"></i> {{ 'mandatoryFields'|_ }}
 | |
|             </div>
 | |
|             <div class="panel-body">
 | |
|                 {{ ExpandedForm.text('name',null,{'maxlength' : 48}) }}
 | |
|                 {{ ExpandedForm.text('symbol',null,{'maxlength' : 8}) }}
 | |
|                 {{ ExpandedForm.text('code',null,{'maxlength' : 3}) }}
 | |
|             </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">
 | |
|                 <i class="fa fa-bolt"></i> {{ 'options'|_ }}
 | |
|             </div>
 | |
|             <div class="panel-body">
 | |
|                 {{ ExpandedForm.optionsList('update','currency') }}
 | |
|             </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">
 | |
|                 <i class="fa fa-plus-circle"></i> Update currency
 | |
|             </button>
 | |
|         </p>
 | |
|     </div>
 | |
| </div>
 | |
| </form>
 | |
| {% endblock %}
 |