Sha256: aef3d1d285e449f5e66bfd0a3f2adc2fdd7a69adb4cc08be2fff9b9d27ff0110

Contents?: true

Size: 1016 Bytes

Versions: 17

Compression:

Stored size: 1016 Bytes

Contents

%section.section.manage
  %h1.section-title= title "Merge School"

  .form-container
    = simple_form_for @school, url: url_for(action: "perform_merge", controller: "schools"), html: { "data-validate" => "form" } do |f|

      %p#disclaimer
        %strong WARNING! This is an irreversible action!

      - if f.error_notification.present?
        #disclaimer
          = f.error_notification
      - if flash[:notice]
        #disclaimer
          = flash[:notice]

      %p
        You are going to merge
        %strong= @school.full_name
        into:

      .form-inputs
        = f.input :id, as: :school_selection, placeholder: "My University", input_html: { "data-validate" => "presence" }, label: "Merge Into:", value: ''

      %p
        This will rename all future applications with the
        %strong= @school.full_name
        school name to this new school.

      .center
        = f.button :submit, value: 'Merge'

  .form-container
    .center
      = link_to 'Back', manage_school_path(@school)

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
hackathon_manager-0.5.6 app/views/manage/schools/merge.html.haml
hackathon_manager-0.5.5 app/views/manage/schools/merge.html.haml
hackathon_manager-0.5.4 app/views/manage/schools/merge.html.haml
hackathon_manager-0.5.3 app/views/manage/schools/merge.html.haml
hackathon_manager-0.5.2 app/views/manage/schools/merge.html.haml
hackathon_manager-0.5.1 app/views/manage/schools/merge.html.haml
hackathon_manager-0.5.0 app/views/manage/schools/merge.html.haml
hackathon_manager-0.4.4 app/views/manage/schools/merge.html.haml
hackathon_manager-0.4.3 app/views/manage/schools/merge.html.haml
hackathon_manager-0.4.2 app/views/manage/schools/merge.html.haml
hackathon_manager-0.4.1 app/views/manage/schools/merge.html.haml
hackathon_manager-0.4.0 app/views/manage/schools/merge.html.haml
hackathon_manager-0.3.3 app/views/manage/schools/merge.html.haml
hackathon_manager-0.3.2 app/views/manage/schools/merge.html.haml
hackathon_manager-0.3.1 app/views/manage/schools/merge.html.haml
hackathon_manager-0.3.0 app/views/manage/schools/merge.html.haml
hackathon_manager-0.2.0 app/views/manage/schools/merge.html.haml