2016-08-19 16:42:06 -05:00
|
|
|
<%= render partial: 'shared/form_model_errors', locals: { obj: quiz} %>
|
2016-08-18 18:22:57 -05:00
|
|
|
<%= form_for quiz, url: action do |form| %>
|
2017-03-20 10:57:50 -05:00
|
|
|
<div>
|
2016-08-18 18:22:57 -05:00
|
|
|
<%= form.label :name, "Quiz Description" %>
|
|
|
|
<%= form.text_field :name %>
|
|
|
|
</div>
|
|
|
|
|
2017-03-20 10:57:50 -05:00
|
|
|
<div>
|
2016-08-18 18:22:57 -05:00
|
|
|
<%= form.label :dept, 'Department' %>
|
|
|
|
<%= form.text_field :dept %>
|
|
|
|
</div>
|
|
|
|
|
2017-03-20 10:57:50 -05:00
|
|
|
<div>
|
2016-08-18 18:22:57 -05:00
|
|
|
<%= form.label :unit, 'Unit' %>
|
|
|
|
<%= form.text_field :unit %>
|
|
|
|
</div>
|
2016-08-18 15:35:17 -05:00
|
|
|
|
2016-08-18 18:22:57 -05:00
|
|
|
<%= form.submit %>
|
2016-08-18 15:35:17 -05:00
|
|
|
<% end %>
|