-
Notifications
You must be signed in to change notification settings - Fork 4
/
create_job.html
52 lines (49 loc) · 1.62 KB
/
create_job.html
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<div ng-controller="JobController as ctrl">
<div ng-show="currentUser==''">
<div class="alert alert-danger fade in">You are not logged in!</div>
</div>
<div ng-hide="currentUser==''">
<div class="panel panel-default" ng-controller="JobController as ctrl">
<div class="panel heading">
<span class="lead">Create your job</span>
</div>
<div class="formcontainer">
<form ng-submit="ctrl.submit()" name="myForm" class="form-horizontal">
<div class="row">
<!-- <div class="form-group col-md-12">
<label class="col-md-2 control-lable" for="job_title">Title</label>
<div class="col-md-7">
<input type="text" width="100" height="50" ng-model="ctrl.job.job_title" id="job_title"
class="job_title form-control input-sm" placeholder="Name your job">
</div>
</div>
</div>
-->
<div class="row">
<div class="form-group col-md-12">
<label class="col-md-2 control-lable" for="company">Company</label>
<div class="col-md-7">
<input type="text" width="100" height="50" ng-model="ctrl.job.company" id="company"
class=" company form-control input-sm" >
</div>
</div>
</div>
<div class="row">
<div class="form-group col-md-12">
<label class="col-md-2 control-lable" for="details">details</label>
<div class="col-md-7">
<textarea rows="20" cols="300" ng-model="ctrl.job.details" id="details"
class="details form-control input-sm"></textarea>
</div>
</div>
</div>
<div class="row">
<div class="form-actions floatRight">
<input type="submit" value="Create Job" class="btn btn-primary btn-sm">
<button type="button" ng-click="ctrl.reset()" class="btn btn-warning btn-sm">Reset Form</button>
</div>
</div>
</form>
</div>
</div>
</div>