JordanHatch/maslow-redux

View on GitHub
app/views/need_responses/_form.html.erb

Summary

Maintainability
Test Coverage
<%= f.inputs do %>
  <%= f.input :response_type, as: :radio %>
  <%= f.input :name %>
  <%= f.input :url %>

  <%= f.actions do %>
    <%= f.action :submit, button_html: {
                            class: 'btn btn-primary'
                          } %>
    <%= f.action :cancel, as: :link %>
  <% end %>
<% end %>