<%= bootstrap_form_with model: [releasable, note] do |form| %>
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Add Note to <%= releasable.name %></h5>
        <%= button_tag type: "button", class: "close", data: { dismiss: "modal" }, aria: { label: "Close" } do %>
          <span aria-hidden="true">&times;</span>
        <% end %>
      </div>
      <div class="modal-body">
        <%= form.text_area :content, hide_label: true, placeholder: true, rows: 6 %>
      </div>
      <div class="modal-footer">
        <%= form.submit class: "btn btn-primary", data: { disable_with: t("shared.disable_with") } %>
        <%= form.button "Close", class: "btn btn-secondary", type: "button", data: { dismiss: "modal" } %>
      </div>
    </div>
  </div>
<% end %>
