-
Notifications
You must be signed in to change notification settings - Fork 0
/
newpost.html.save
243 lines (243 loc) · 10.1 KB
/
newpost.html.save
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
<div class="newform col-md-12">
{% if post_type == "Interview" %}
<select name="taskOption">
<option>First</option>
<option>Second</option>
<option>Third</option>
</select>
<h2>{{header}}Interview</h2>
<p class="required"><span class="required">* </span>Required Fields</p>
<div class="new-interview-form">
<form class="form-horizontal" id="post_form" method="post" action="/gethired/post/new/{{post_type}}/{{post_id}}/"> <select name="taskOption">
<option>First</option>
<option>Second</option>
<option>Third</option>
</select>
<div class="container-fluid">
<div class="row">
<div class="new-company-info col-md-6">
<div class="form-group">
<label for="id_company" class="control-label col-md-12"><span class="required">* </span>Company: </label>
{{ form.company.errors }}
<div class="col-md-12">
<select class="form-control combobox" name="company">
<option></option>
{% for c in companies %}
<option value="{{c.pk}}">{{c.name}}</option>
{% endfor %}
</select>
</div>
</div>
<div class="form-group">
<label for="country" class="control-label col-md-12">Country: </label>
<div class="col-md-12">
{{location_form.country}}
</div>
</div>
<div class="form-group">
<label for="state" class="control-label col-md-12">State: </label>
<div class="col-md-12">
{{location_form.state}}
</div>
</div>
<div class="form-group">
<label for="city" class="control-label col-md-12"><span class="required">* </span>City: </label>
{{location_form.city.errors}}
<div class="col-md-12">
{{location_form.city}}
</div>
</div>
<div class="form-group">
<label for="id_job_title" class="control-label col-md-12">Job Title: </label>
{{ form.job_title.errors }}
<div class="col-md-12">
{{ form.job_title}}
</div>
</div>
<div class="form-group">
<label for="date_interviewed" class="control-label col-md-12"><span class="required">* </span>Date of Interview: </label>
{{form.date_interviewed.errors}}
<div class="col-md-12" id="dateinterviewed">
{{form.date_interviewed}}
</div>
</div>
</div><!-- New Company Info Div End -->
<div class="new-interview-other-info col-md-6">
<div class="form-group">
<label for="id_job_type" class="control-label col-md-12">Job Type: </label>
{{form.job_type.errors}}
<div class="col-md-12">
{{ form.job_type }}
</div>
</div>
<div class="form-group">
<label class="control-label col-md-12" for="id_applicant_degree">Degree Type: </label>
{{ form.applicant_degree.errors}}
<div class="col-md-12">
{{ form.applicant_degree }}
</div>
</div>
<div class="form-group">
<label for="id_offer_status" class="control-label col-md-12">Offer Status: </label>
{{ form.offer_status.errors }}
<div class="col-md-12">
{{ form.offer_status }}
</div>
</div>
<div class="form-group">
<label for="id_interview_source" class="control-label col-md-12">Interview Source: </label>
{{ form.interview_source.errors }}
<div class="col-md-12">
{{form.interview_source}}
</div>
</div>
<div class="form-group">
<label for="id_interview_rating" class="control-label col-md-12"><span class="required">* </span>Interview Rating: </label>
{{form.interview_rating.errors}}
<div class="col-md-12">
{{form.interview_rating}}
</div>
</div>
</div><!-- Other Div End -->
</div> <!-- Company Info Row End -->
</div><!-- End of Company Info Container -->
<div class="container-fluid">
<div class="row">
<div class="col-md-12 new-interview-input">
<div class="form-group col-md-12">
<label for="id_interview_process" class="control-label col-md-12"><span class="required">* </span>Interview Process: </label>
{{form.interview_process.errors}}
<div class="col-md-12">
{{form.interview_process}}
</div>
</div>
<div class="form-group col-md-12">
<label for="id_questions_asked" class="control-label col-md-12"><span class="required">* </span>Questions Asked: </label>
{{ form.questions_asked.errors }}
<div class="col-md-12">
{{ form.questions_asked }}
</div>
</div>
</div><!-- Interview Input Div End -->
</div><!-- Input Row End -->
</div><!-- Input Row Container -->
<div class="form-group col-md-12">
<button type="submit" class="btn btn-default">Submit</button>
</div>
</form>
</div>
{% elif post_type == "Offer" %}
<h2>{{header}}Offer</h2>
<p class="required"><span class="required">* </span>Required Fields</p>
<div class="new-offer-form">
<form class="form-horizontal" id=post_form method="post" action="{% url 'create_post' post_type=post_type post_id=post_id %}" style="margin: 20px;">
{% csrf_token %}
<div class="container-fluid">
<div class="row">
<div class="new-company-info col-md-6">
<div class="form-group">
<label for="company" class="control-label col-md-12"><span class="required">* </span>Company: </label>
{{ form.company.errors }}
<div class="col-md-12">
{{form.company}}
</div>
</div>
<div class="form-group">
<label for="job_title" class="control-label col-md-12">Job title: </label>
{{ form.job_title.errors }}
<div class="col-md-12">
{{ form.job_title}}
</div>
</div>
<div class="form-group">
<label class="control-label col-md-12" for="applicant_degree">Degree type: </label>
{{ form.applicant_degree.errors}}
<div class="col-md-12">
{{ form.applicant_degree }}
</div>
</div>
<div class="form-group">
<label for="country" class="control-label col-md-12">Country: </label>
<div class="col-md-12">
{{location_form.country}}
</div>
</div>
<div class="form-group">
<label for="state" class="control-label col-md-12">State: </label>
<div class="col-md-12">
{{location_form.state}}
</div>
</div>
<div class="form-group">
<label for="city" class="control-label col-md-12"><span class="required">* </span>City: </label>
{{location_form.city.errors}}
<div class="col-md-12">
{{location_form.city}}
</div>
</div>
</div><!-- End of Company Div -->
<div class="new-pay-info col-md-6">
<div class="form-group">
<label for="job_type" class="control-label col-md-12">Job Type: </label>
{{ form.job_type.errors}}
<div class="col-md-12">
{{ form.job_type }}
</div>
</div>
<div class="form-group">
<label for="interview_process" class="control-label col-md-12">Pay Type: </label>
{{ form.pay_type.errors }}
<div class="col-md-12">
{{ form.pay_type }}
</div>
</div>
<div class="form-group">
<label for="questions_asked" class="control-label col-md-12"><span class="required">* </span>Salary: </label>
{{ form.salary.errors }}
<div class="col-md-12 input-group money_field">
<span class="input-group-addon">$</span>
{{ form.salary }}
</div>
</div>
<div class="form-group">
<label for="offer_status" class="control-label col-md-12">Signing Bonus: </label>
{{ form.signing_bonus.errors }}
<div class="col-md-12 input-group money_field">
<span class="input-group-addon">$</span>
{{ form.signing_bonus }}
</div>
</div>
<div class="form-group">
<label for="SOO" class="control-label col-md-12">Relocation Bonus: </label>
{{ form.relocation_bonus.errors }}
<div class="col-md-12 input-group money_field">
<span class="input-group-addon">$</span>
{{ form.relocation_bonus}}
</div>
</div>
<div class="form-group">
<label for="SOO" class="control-label col-md-12">Offer Status: </label>
{{ form.offer_status.errors }}
<div class="col-md-12">
{{ form.offer_status}}
</div>
</div>
</div>
</div><!-- End of New Offer Selector Row Div -->
</div><!-- End of New Offer Selector Container Div -->
<div class="form-group">
{{ form.other_details.errors }}
<label for="SOO" class="control-label col-md-12">Other Details: </label>
<div class="col-md-12">
{{ form.other_details}}
</div>
</div>
<div class="form-group">
<button type="submit" class="btn btn-default">Submit</button>
</div>
</form>
</div><!-- End of New Offer Div -->
{% endif %}
</div><!-- End new form Div -->
{% endblock %}
<!-- Modal -->