alertmon/views/core-edit.hbs

25 lines
817 B
Handlebars

{{!< default}}
<div id="form-container" class="container">
{{#form url class="form-horzontal"}}
<div class="form-group">
{{label "deviceName" "Edit Device Name:"}}
{{input "deviceName" coreName class="form-control"}}
{{#if values.0.corename}}
<p class="bg-info">* Current value is, {{values.0.corename}}</p>
{{/if}}
</div>
<div class="form-group">
{{label "locationDesc" "Edit Location:"}}
{{input "locationDesc" locationDesc class="form-control"}}
{{#if values.0.locationdesc}}
<p class="bg-info">* Current value is, {{values.0.locationdesc}}</p>
{{/if}}
</div>
{{submit "save" "Save details" class="btn btn-primary"}}
{{/form}}
</div>