19 lines
681 B
Plaintext
19 lines
681 B
Plaintext
<div class="col-md-3">
|
|
<%= simple_form_for([:origami, @commissioner]) do |f| %>
|
|
<%= f.error_notification %>
|
|
|
|
<div class="form-inputs">
|
|
<%= f.input :name %>
|
|
<%= f.label :emp_id %>
|
|
<%= f.collection_select :emp_id, Employee.all.order('name asc'), :emp_id, :name, {prompt: "Select an Employee"}, {class: "form-control"} %><br/>
|
|
<%= f.input :commission_type %>
|
|
<label><%= f.check_box :is_active %> Active </label>
|
|
</div>
|
|
|
|
<div class="form-actions">
|
|
<%= link_to 'Back', origami_commissioners_path, class: 'btn btn-success' %>
|
|
<%= f.button :submit, class: 'btn btn-info' %>
|
|
</div>
|
|
<% end %>
|
|
</div>
|