<div class="modal" id="tag_multiple_releases" tabindex="-1" role="dialog">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Tag releases</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">
        <%= bootstrap_form_tag url: [:bulk_taggings], remote: true do |form| %>
          <%= form.hidden_field :releasable_ids, value: releasable_ids.to_s, hide_label: true %>
          <%= form.hidden_field :project_id, value: project_id, hide_label: true %>
          <%= form.hidden_field :releasable_name, value: params[:releasable_name], hide_label: true %>
          <%= form.text_field :name, hide_label: true, placeholder: "Tag name", append: form.submit(t(".submit"), class: "btn btn-primary", data: { disable_with: t("shared.disable_with") }) %>
        <% end %>
      </div>
      <div class="modal-footer">
        <%= button_tag "Close", class: "btn btn-secondary", type: "button", data: { dismiss: "modal" } %>
      </div>
    </div>
  </div>
</div>