skill-assessment-app/app/views/admin/quiz/_form.html.erb
2017-06-05 11:30:34 -05:00

20 lines
426 B
Plaintext

<%= render partial: 'shared/form_model_errors', locals: { obj: quiz} %>
<%= form_for quiz, url: action do |form| %>
<div>
<%= form.label :name, "Quiz Description" %>
<%= form.text_field :name %>
</div>
<div>
<%= form.label :dept, 'Department' %>
<%= form.text_field :dept %>
</div>
<div>
<%= form.label :unit, 'Unit' %>
<%= form.text_field :unit %>
</div>
<%= form.submit %>
<% end %>