-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaskquestion.html
More file actions
30 lines (29 loc) · 1.32 KB
/
askquestion.html
File metadata and controls
30 lines (29 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<div class="container">
<div class="col-md-8 col-md-offset-2">
<div class="page-header"><h1>Ask a Question</h1></div>
<form ng-submit="submit()">
<div class="form-group">
<label>Choose Category
<select class="form-control" name="category" ng-model="categoryChoice">
<option ng-hide="categories.length > 0">Loading categories...</option>
<option ng-repeat="category in categories" value="{{category.categoryId}}">
{{category.categoryName}}
</option>
</select>
</label>
</div>
<div class="form-group">
<label>Question
<input type="text" class="form-control" name="question" ng-model="title" maxlength="120"/>
</label>
</div>
<div class="form-group">
<label>Additional Details
<textarea rows="3" class="form-control" name="text" ng-model="description"
style="resize:vertical;min-height:2em" maxlength="400"></textarea>
</label>
</div>
<button type="submit" class="btn btn-warning btn-lg submit">Submit</button>
</form>
</div>
</div>