From 6bea0f27e7c9434d9e337e99249d967d8db08b44 Mon Sep 17 00:00:00 2001 From: decabeza Date: Wed, 4 Oct 2017 17:18:19 +0200 Subject: [PATCH] removes unnecessary polls partial --- .../polls/_reasons_for_not_answering.html.erb | 24 ------------------- 1 file changed, 24 deletions(-) delete mode 100644 app/views/polls/_reasons_for_not_answering.html.erb diff --git a/app/views/polls/_reasons_for_not_answering.html.erb b/app/views/polls/_reasons_for_not_answering.html.erb deleted file mode 100644 index bd0bab3ad..000000000 --- a/app/views/polls/_reasons_for_not_answering.html.erb +++ /dev/null @@ -1,24 +0,0 @@ -<% if poll.incoming? %> -
- <%= t('poll_questions.show.cant_answer_incoming') %> -
-<% elsif poll.expired? %> -
- <%= t('poll_questions.show.cant_answer_expired') %> -
-<% elsif current_user.nil? %> -
- <%= t("poll_questions.show.not_logged_in", - signin: link_to(t("poll_questions.show.signin"), new_user_session_path, class: "probe-message"), - signup: link_to(t("poll_questions.show.signup"), new_user_registration_path, class: "probe-message")).html_safe %> -
-<% elsif current_user.unverified? %> -
- <%= t('poll_questions.show.cant_answer_verify_html', - verify_link: link_to(t('poll_questions.show.verify_link'), verification_path)) %> -
-<% else %> -
- <%= t('poll_questions.show.cant_answer_wrong_geozone') %> -
-<% end %>