rubycentral/cfp-app

View on GitHub
app/views/staff/time_slots/_edit_dialog.html.haml

Summary

Maintainability
Test Coverage
.modal-dialog
  .modal-content
    = simple_form_for [event, :staff, :schedule, time_slot], remote: true, html: {role: 'form'} do |f|
      .modal-header
        %h3 Edit Time Slot
        .errors
      .modal-body
        = render partial: 'staff/time_slots/form',
            locals: {f: f, time_slot: time_slot }
      .modal-footer
        %button.btn.btn-default{'data-dismiss' => "modal"} Cancel
        %button.btn.btn-primary{:type => "submit"} Save