<%= render partial: 'shared/form_model_errors', locals: { obj: quiz} %>
<%= form_for quiz, url: action do |form| %>
  <div class="form-group">
    <%= form.label :name, "Quiz Description" %>
    <%= form.text_field :name %>
  </div>

  <div class="form-group">
    <%= form.label :dept, 'Department' %>
    <%= form.text_field :dept %>
  </div>

  <div class="form-group">
    <%= form.label :unit, 'Unit' %>
    <%= form.text_field :unit %>
  </div>

  <%= form.submit %>
<% end %>
