<div class="modal fade" id="modal-create-sample-type" tabindex="-1" role="dialog" aria-labelledby="modal-create-sample-type-label">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title"><%= t("samples.modal_add_new_sample_type.title_html", organization: @organization.name) %></h4>
      </div>
      <%= bootstrap_form_for SampleType.new, remote: true, url: organization_sample_types_path(@organization) do |f| %>
      <div class="modal-body">
        <%= f.text_field :name, id: "name-input" %>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel")%></button>
        <input type="submit" class="btn btn-primary" value="<%= t("samples.modal_add_new_sample_type.create")%>"</input>
      </div>
      <% end %>
    </div>
  </div>
</div>