// Adding footer to customer requiered fields

This commit is contained in:
Jerome Nadaud
2013-11-21 09:46:27 +01:00
parent 2df142eb89
commit 0b47dbca21
@@ -33,30 +33,36 @@
<div class="alert alert-info"> <div class="alert alert-info">
{l s='Select the fields you would like to be required for this section.'} {l s='Select the fields you would like to be required for this section.'}
</div> </div>
<table class="table"> <div class="row">
<thead> <table class="table">
<tr> <thead>
<th class="fixed-width-xs"> <tr>
<input type="checkbox" onclick="checkDelBoxes(this.form, 'fieldsBox[]', this.checked)" class="noborder" name="checkme"> <th class="fixed-width-xs">
</th> <input type="checkbox" onclick="checkDelBoxes(this.form, 'fieldsBox[]', this.checked)" class="noborder" name="checkme">
<th><span class="title_box">{l s='Field Name'}</span></th> </th>
</tr> <th><span class="title_box">{l s='Field Name'}</span></th>
</thead> </tr>
<tbody> </thead>
{foreach $table_fields as $field} <tbody>
{if !in_array($field, $required_class_fields)} {foreach $table_fields as $field}
<tr> {if !in_array($field, $required_class_fields)}
<td class="noborder"> <tr>
<input type="checkbox" name="fieldsBox[]" value="{$field}" {if in_array($field, $required_fields)} checked="checked"{/if} /> <td class="noborder">
</td> <input type="checkbox" name="fieldsBox[]" value="{$field}" {if in_array($field, $required_fields)} checked="checked"{/if} />
<td> </td>
{$field} <td>
</td> {$field}
</tr> </td>
{/if} </tr>
{/foreach} {/if}
</tbody> {/foreach}
</table> </tbody>
<button class="btn btn-default pull-right" type="submit" name="submitFields"><i class="icon-save"></i> {l s='Save'}</button> </table>
</div>
<div class="panel-footer">
<button name="submitFields" type="submit" class="btn btn-default pull-right">
<i class="process-icon-save "></i> <span>{l s='Save'}</span>
</button>
</div>
</form> </form>
</div> </div>