1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-30 00:00:13 +01:00
VILLASweb/app/templates/components/widget-label.hbs
Markus Grigull 7099651272 Add widget-table and widget-label
Remove console output in UI mixins
2016-11-03 09:42:16 +01:00

26 lines
670 B
Handlebars

<h4>{{widget.name}}</h4>
{{#if isShowingModal}}
{{#modal-dialog attachment="middle center" translucentOverlay=true}}
<h1>Label</h1>
<form class="form-widget-label" {{action 'submitModal' on='submit'}} >
<table>
<tr>
<td>
<label for="name">Name</label>
</td>
<td>
{{input id='name' placeholder='Enter widget name' value=name}}
</td>
</tr>
<tr>
<td colspan="2">
<button {{action 'cancelModal'}}>Cancel</button>
<button type="submit">Save</button>
</td>
</tr>
</table>
</form>
{{/modal-dialog}}
{{/if}}