Working : clean of currency-edit page
This commit is contained in:
@@ -28,8 +28,9 @@
|
|||||||
|
|
||||||
<div class="form-container">
|
<div class="form-container">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
|
||||||
{form name="thelia.admin.currency.modification"}
|
{form name="thelia.admin.currency.modification"}
|
||||||
<form method="POST" action="{url path='/admin/configuration/currencies/save'}" {form_enctype form=$form}>
|
<form method="POST" action="{url path='/admin/configuration/currencies/save'}" {form_enctype form=$form} class="clearfix">
|
||||||
|
|
||||||
{* Be sure to get the currency ID, even if the form could not be validated *}
|
{* Be sure to get the currency ID, even if the form could not be validated *}
|
||||||
<input type="hidden" name="currency_id" value="{$currency_id}" />
|
<input type="hidden" name="currency_id" value="{$currency_id}" />
|
||||||
@@ -50,76 +51,58 @@
|
|||||||
|
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label class="control-label">
|
|
||||||
{intl l='Name *'}
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<div class="controls">
|
|
||||||
{form_field form=$form field='name'}
|
{form_field form=$form field='name'}
|
||||||
<span {if $error}class="error"{/if}>
|
<div class="form-group {if $error}has-error{/if}">
|
||||||
<input type="text" required="required" name="{$name}" value="{$value|htmlspecialchars}" title="{intl l='Currency name'}" placeholder="{intl l='Currency name'}" class="form-control input-medium">
|
<label>{intl l='Name *'}</label>
|
||||||
</span>
|
<input type="text" required="required" name="{$name}" value="{$value|htmlspecialchars}" title="{intl l='Currency name'}" placeholder="{intl l='Currency name'}" class="form-control">
|
||||||
|
</div>
|
||||||
{/form_field}
|
{/form_field}
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label class="control-label">
|
|
||||||
{intl l='ISO 4217 Code *'}
|
|
||||||
<span class="label-help-block"><a title="{intl l='More information about ISO 4217'}" href="http://fr.wikipedia.org/wiki/ISO_4217" target="_blank">List of ISO 4217 code</a></span>
|
|
||||||
</label>
|
|
||||||
|
|
||||||
<div class="controls">
|
|
||||||
{form_field form=$form field='code'}
|
{form_field form=$form field='code'}
|
||||||
<span {if $error}class="error"{/if}>
|
<div class="form-group {if $error}has-error{/if}">
|
||||||
<input type="text" required="required" name="{$name}" value="{$value|htmlspecialchars}" title="{intl l='Currency ISO 4217 Code'}" placeholder="{intl l='Code'}" class="form-control input-mini">
|
<label>
|
||||||
|
{intl l='ISO 4217 Code *'}
|
||||||
|
<span class="label-help-block">
|
||||||
|
<a title="{intl l='More information about ISO 4217'}" href="http://fr.wikipedia.org/wiki/ISO_4217" target="_blank">List of ISO 4217 code</a>
|
||||||
</span>
|
</span>
|
||||||
|
</label>
|
||||||
|
<input type="text" required="required" name="{$name}" value="{$value|htmlspecialchars}" title="{intl l='Currency ISO 4217 Code'}" placeholder="{intl l='Code'}" class="form-control">
|
||||||
|
</div>
|
||||||
{/form_field}
|
{/form_field}
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="form-group">
|
|
||||||
<label class="control-label">
|
{form_field form=$form field='symbol'}
|
||||||
|
<div class="form-group {if $error}has-error{/if}">
|
||||||
|
<label>
|
||||||
{intl l='Symbol *'}
|
{intl l='Symbol *'}
|
||||||
<span class="label-help-block">The symbol, sur as $, £, €...</span>
|
<span class="label-help-block">The symbol, sur as $, £, €...</span>
|
||||||
</label>
|
</label>
|
||||||
|
<input type="text" required="required" name="{$name}" value="{$value|htmlspecialchars}" title="{intl l='Currency symbol'}" placeholder="{intl l='Symbol'}" class="form-control">
|
||||||
<div class="controls">
|
</div>
|
||||||
{form_field form=$form field='symbol'}
|
|
||||||
<span {if $error}class="error"{/if}>
|
|
||||||
<input type="text" required="required" name="{$name}" value="{$value|htmlspecialchars}" title="{intl l='Currency symbol'}" placeholder="{intl l='Symbol'}" class="form-control input-mini">
|
|
||||||
</span>
|
|
||||||
{/form_field}
|
{/form_field}
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
{form_field form=$form field='rate'}
|
||||||
<label class="control-label">
|
<div class="form-group {if $error}has-error{/if}">
|
||||||
|
<label>
|
||||||
{intl l='Rate from € *'}
|
{intl l='Rate from € *'}
|
||||||
<span class="label-help-block">The rate from Euro</span>
|
<span class="label-help-block">The rate from Euro</span>
|
||||||
</label>
|
</label>
|
||||||
|
<input type="text" required="required" name="{$name}" value="{$value|htmlspecialchars}" title="{intl l='Rate from Euro'}" placeholder="{intl l='Rate'}" class="form-control">
|
||||||
<div class="controls">
|
|
||||||
{form_field form=$form field='rate'}
|
|
||||||
<span {if $error}class="error"{/if}>
|
|
||||||
<input type="text" required="required" name="{$name}" value="{$value|htmlspecialchars}" title="{intl l='Rate from Euro'}" placeholder="{intl l='Rate'}" class="form-control input-mini">
|
|
||||||
</span>
|
|
||||||
{/form_field}
|
|
||||||
<span class="help-block">Price in Euro x rate = Price in this currency</span>
|
<span class="help-block">Price in Euro x rate = Price in this currency</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{/form_field}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
{/form}
|
{/form}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user