Fix broken label for attribute in Save dialog

To avoid having to define an id, wrap label around input element.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/1445/head
Alex Coles 11 years ago
parent f85f19adca
commit 2cb3de3544
  1. 4
      app/assets/stylesheets/content/_modal.sass
  2. 6
      public/templates/work_packages/modals/save.html

@ -60,6 +60,10 @@ $ng-modal-image-width: $ng-modal-image-height
label
padding: 0 50px 0 0
& > input
margin-left: 50px
input
width: 230px
height: 30px

@ -6,8 +6,10 @@
<form name="modalSaveForm">
<div>
<label for="name">Name</label>
<input class="short" type="text" name="query_name" ng-model="queryName" required></input>
<label>
Name:
<input class="short" type="text" name="query_name" ng-model="queryName" required></input>
</label>
</div>
<div>
<button class="button_highlight"

Loading…
Cancel
Save