1234567891011121314151617 |
- <template name="postSubmit">
- <form class="main form page">
- <div class="form-group {{ errorClass 'url' }}">
- <label class="control-label" for="url">URL</label>
- <div class="controls">
- <input name="url" id="url" type="text" value="" placeholder="Your URL" class="form-control" />
- <span class="help-block">{{ errorMessage 'url' }}</span>
- </div>
- </div>
- <div class="form-group {{ errorClass 'title' }}">
- <label class="control-label" for="title">Title</label>
- <input name="title" id="title" type="text" value="" placeholder="Name your post" class="form-control" />
- <span class="help-block">{{ errorMessage 'title' }}</span>
- </div>
- <input type="submit" value="Submit" class="btn btn-primary" />
- </form>
- </template>
|