44 lines
1.3 KiB
HTML
44 lines
1.3 KiB
HTML
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
{{#if id}}
|
|
<h3>Edit</h3>
|
|
{{else}}
|
|
<h3>Add</h3>
|
|
{{/if}}
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="form-horizontal">
|
|
<div class="control-group">
|
|
<label class="control-label">Name</label>
|
|
|
|
<div class="controls">
|
|
<input type="text" name="name"/>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
<label class="control-label">Enable</label>
|
|
|
|
<div class="controls">
|
|
<label class="checkbox toggle well">
|
|
<input type="checkbox" name="enable"/>
|
|
<p>
|
|
<span>Yes</span>
|
|
<span>No</span>
|
|
</p>
|
|
|
|
<div class="btn btn-primary slide-button"></div>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
|
|
{{formBuilder}}
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
{{#if id}}
|
|
<button class="btn btn-danger pull-left x-remove">delete</button>
|
|
{{/if}}
|
|
<button class="btn" data-dismiss="modal">cancel</button>
|
|
<button class="btn btn-primary x-save">save</button>
|
|
</div> |