Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
There are no files selected for viewing
10 changes: 5 additions & 5 deletions
10
client/app/scripts/modules/directives/templates/editMonsterForm.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |