Changing id tags for nav form

This commit is contained in:
Gopesh Tulsyan 2015-01-15 11:12:57 +05:30
parent fc450b98ae
commit 327db11a8a

View file

@ -7,16 +7,16 @@
/ Nav tabs
%ul.nav.nav-tabs{:role => "tablist"}
%li.active{:role => "presentation"}
%a{"aria-controls" => "home", "data-toggle" => "tab", :href => "#home", :role => "tab"} Onboarding
%a{"aria-controls" => "onboarding", "data-toggle" => "tab", :href => "#onboarding", :role => "tab"} Onboarding
%li{:role => "presentation"}
%a{"aria-controls" => "profile", "data-toggle" => "tab", :href => "#profile", :role => "tab"} Proposal
%a{"aria-controls" => "proposal", "data-toggle" => "tab", :href => "#proposal", :role => "tab"} Proposal
%li{:role => "presentation"}
%a{"aria-controls" => "notifications", "data-toggle" => "tab", :href => "#notifications", :role => "tab"} Update Notifications
%li{:role => "presentation"}
%a{"aria-controls" => "settings", "data-toggle" => "tab", :href => "#settings", :role => "tab"} Call for Papers
%a{"aria-controls" => "cfp", "data-toggle" => "tab", :href => "#cfp", :role => "tab"} Call for Papers
/ Tab panes
.tab-content
#home.tab-pane.active{:role => "tabpanel"}
#onboarding.tab-pane.active{:role => "tabpanel"}
= f.input :send_on_registration, label: "Send an email when the user registers for the conference?", :input_html => {"data-name"=>"email_settings_registration_subject", "class"=>"send_on_radio"}
= f.input :registration_subject
= f.input :registration_email_template, :input_html => { :rows => 10, :cols => 20}
@ -24,7 +24,7 @@
"data-name"=>"email_settings_registration_email_template"} Load Template
%a.btn.btn-link.control_label.template_help_link{"data-name"=>"registration_help"} Show Help
= render partial: 'help', locals: {id: 'registration_help', show_event_variables: false}
#profile.tab-pane{:role => "tabpanel"}
#proposal.tab-pane{:role => "tabpanel"}
= f.input :send_on_accepted, label: "Send an email when the proposal is accepted?", :input_html => {"data-name"=>"email_settings_accepted_subject", "class"=>"send_on_radio"}
= f.input :accepted_subject
= f.input :accepted_email_template, :input_html => { :rows => 10, :cols => 20 }
@ -68,7 +68,7 @@
"data-name"=>"email_settings_venue_update_template"} Load Template
%a.btn.btn-link.control_label.template_help_link{"data-name"=>"updated_venue_help"} Show Help
= render partial: 'help', locals: {id: 'updated_venue_help', show_event_variables: false}
#settings.tab-pane{:role => "tabpanel"}
#cfp.tab-pane{:role => "tabpanel"}
= f.input :send_on_call_for_papers_schedule_public, hint: "This will notify all participants when the dates are updated or when the schedule is made public"
= f.input :call_for_papers_schedule_public_subject, hint: "This subject will used whenever dates are updated or when the schedule is made public"
= f.input :call_for_papers_schedule_public_template, :input_html => { :rows => 10, :cols => 20 }