SHARE
TWEET
Untitled
a guest
Dec 11th, 2014
4
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- <section data-ng-controller="ArticlesController">
- <div class="page-header">
- <h1>New Article</h1>
- </div>
- <div class="col-md-12">
- <form name="articleForm" class="form-horizontal" data-ng-submit="create()" novalidate>
- <fieldset>
- <div class="form-group" ng-class="{ 'has-error': articleForm.title.$dirty && articleForm.title.$invalid }">
- <label class="control-label" for="title">Title</label>
- <div class="controls">
- <input name="title" type="text" data-ng-model="title" id="title" class="form-control" placeholder="Title" required>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label" for="content">Content</label>
- <div class="controls">
- <textarea name="content" data-ng-model="content" id="content" class="form-control" cols="30" rows="10" placeholder="Content"></textarea>
- </div>
- </div>
- <div class="form-group">
- <input type="submit" class="btn btn-default">
- </div>
- <div data-ng-show="error" class="text-danger">
- <strong data-ng-bind="error"></strong>
- </div>
- </fieldset>
- </form>
- </div>
- </section>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

