<%= bootstrap_form_with model: model, layout: :horizontal, label_col: "col-3", control_col: "col-9" do |form| %>
  <div class="modal-body">
    <%= form.hidden_field :time_elapsed, value: bookmark.time_elapsed %>
    <%= form.static_control nil, name: nil, label: "Video Timecode", value: bookmark.appears_at %>
    
    <% Bookmark.categories.keys.each do |category| %>
      <%= form.radio_button :category, category, label: category %>
    <% end %>
    
    <div class="mt-3">
      <%= form.text_area :notes, control_col: "col-12", hide_label: true, placeholder: true, rows: 4 %>
    </div>
  </div>
  <div class="modal-footer">
    <%= form.button "Close", class: "btn btn-secondary", data: { dismiss: "modal" } %>
    <%= form.submit class: "btn btn-primary", data: { disable_with: t("shared.disable_with") } %>
  </div>
<% end %>