Commit 59adc75e authored by Mario Manno's avatar Mario Manno

remove empty switch conferences menu and add link to cfp login form

parent d6d6705e
......@@ -19,7 +19,7 @@
- if current_user and current_user.person
%ul.nav.secondary-nav.pull-right
- conferences = Conference.creation_order.has_submission(current_user.person)
- if conferences.any?
- if conferences.to_a.count > 1
%li.dropdown
= link_to t("switch_conference", default: "Switch conference"), "#", class: "dropdown-toggle"
%ul.dropdown-menu
......
......@@ -16,4 +16,9 @@
%h2=t("cfp.forgot_password_headline")
%p=t("cfp.forgot_password_description")
= action_button "", t("cfp.forgot_password_button"), new_cfp_user_password_path
- if @conference
.row
.span10.offset6
%p
=t("cfp.looking_for_login_form")
=link_to "Call For Participation", new_cfp_session_path
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment