added induties
This commit is contained in:
@@ -36,6 +36,8 @@
|
||||
<%= f.label :resigned_date %><br/>
|
||||
<%= f.text_field :resigned_date, {class: 'form-control datepicker', id: 'resigned_date', readonly: true} %><br/>
|
||||
<%= f.input :is_active %>
|
||||
<input type="hidden" name="from_induty" value="" class="from_induty">
|
||||
<input type="hidden" name="booking_id" value="" class="booking_id">
|
||||
</div>
|
||||
|
||||
<div class="form-actions">
|
||||
@@ -70,3 +72,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$('.from_induty').val(localStorage.getItem('from_induty'));
|
||||
$('.booking_id').val(localStorage.getItem('booking_id'));
|
||||
</script>
|
||||
|
||||
@@ -10,3 +10,4 @@
|
||||
</div>
|
||||
|
||||
<%= render 'form', commissioner: @commissioner %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user