_form.html.erb 257 B

12345678
  1. <%= bootstrap_form_for [@assignment, @submission] do |f| %>
  2. <%= render 'shared/error_messages', object: f.object %>
  3. <%= f.text_field :title %>
  4. <%= f.text_area :description %>
  5. <%= f.submit yield(:button_text), class: "btn btn-primary" %>
  6. <% end %>