app/views/assignments/new.html.erb
<%= render 'organizations/organization_banner' %>
<div class="container-lg p-responsive">
<div class="Subhead Subhead--spacious">
<div class="Subhead-heading d-flex flex-items-center">
<span class="assignment-icon assignment-icon-individual mr-2">
<%= octicon 'person', height: 22 %>
</span>
<span>New individual assignment</span>
</div>
</div>
<%= form_for [@organization, @assignment] do |f| %>
<div class="d-md-flex">
<div class="col-md-9">
<%= render partial: 'assignments/assignment_form_options', locals: { f: f } %>
<div class="form-actions">
<%= f.submit 'Create Assignment', class: 'btn btn-primary', id: 'assignment_submit' %>
<%= link_to 'Cancel', organization_path(@organization), class: 'btn', role: 'button' %>
</div>
</div>
</div>
<% end %>
</div>