Skip to content

Commit

Permalink
Fixed form labels and input ids
Browse files Browse the repository at this point in the history
They now correspond to their content and match their input's id
  • Loading branch information
Zertz committed Jul 15, 2014
1 parent fd77c79 commit 2b3a94c
Showing 1 changed file with 5 additions and 5 deletions.
@@ -1,19 +1,19 @@
<form name="editForm" class="form-horizontal" ng-submit="saveMonster()" novalidate>
<div class="control-group">
<label class="control-label" for="inputEmail">Name</label>
<label class="control-label" for="inputName">Name</label>
<div class="controls">
<input style="width:97%" type="text" ng-model="editedMonster.name" placeholder="Name" required>
<input style="width:97%" type="text" id="inputName" ng-model="editedMonster.name" placeholder="Name" required>
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputPassword">Reason</label>
<label class="control-label" for="inputReason">Reason</label>
<div class="controls">
<input style="width:97%" type="text" ng-model="editedMonster.reason" placeholder="Reason" required>
<input style="width:97%" type="text" id="inputReason" ng-model="editedMonster.reason" placeholder="Reason" required>
</div>
</div>
<div class="control-group">
<div class="controls">
<button type="submit" ng-disabled="editForm.$invalid" class="btn btn-block btn-large btn-success">Save To Parse</button>
</div>
</div>
</form>
</form>

0 comments on commit 2b3a94c

Please sign in to comment.