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

Commit

Permalink
Update create-article.client.view.html
Browse files Browse the repository at this point in the history
Little mistake (copy-paste probably) where there is title instead of content. Am I right ?
  • Loading branch information
romainkoenig committed Aug 3, 2014
1 parent e98554e commit 3949400
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/modules/articles/views/create-article.client.view.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h1>New Article</h1>
<div class="controls">
<textarea name="content" data-ng-model="content" id="content" class="form-control" cols="30" rows="10" placeholder="Content" required></textarea>
</div>
<div ng-show="submitted && articleForm.title.$invalid" class="help-block">
<div ng-show="submitted && articleForm.content.$invalid" class="help-block">
<p ng-show="articleForm.content.$error.required" class="text-danger">Content is required</p>
</div>
</div>
Expand All @@ -32,4 +32,4 @@ <h1>New Article</h1>
</fieldset>
</form>
</div>
</section>
</section>

0 comments on commit 3949400

Please sign in to comment.