<%= errors_summary_for broadcast %>

<%= bootstrap_form_with model: model, local: true do |form| %>
  <%= form.text_field :name %>

  <div class="row align-items-center text-center mt-4">
    <%= link_to t("shared.cancel"), [project, :broadcasts], class: "col-3 text-reset" %>
    <div class="col-9">
      <%= form.submit class: class_string("btn btn-block", ["btn-success", "btn-primary"] => broadcast.new_record?), data: { disable_with: t("shared.disable_with") } %>
    </div>
  </div>
<% end %>
