Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Title should be required.
Browse files Browse the repository at this point in the history
  • Loading branch information
amitaibu committed Sep 7, 2013
1 parent 1ca5d16 commit d8fa855
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/views/articles/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="control-group">
<label class="control-label" for="title">Title</label>
<div class="controls">
<input type="text" data-ng-model="title" id="title" placeholder="Title">
<input type="text" data-ng-model="title" id="title" placeholder="Title" required>
</div>
</div>
<div class="control-group">
Expand Down
2 changes: 1 addition & 1 deletion public/views/articles/edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<label class="control-label" for="title">Title</label>

<div class="controls">
<input type="text" data-ng-model="article.title" id="title" placeholder="Title">
<input type="text" data-ng-model="article.title" id="title" placeholder="Title" required>
</input>
</div>
</div>
Expand Down

0 comments on commit d8fa855

Please sign in to comment.