tweaks admin/polls pages and specs

This commit is contained in:
Juanjo Bazán
2016-12-06 13:51:14 +01:00
parent e8ccc07273
commit 60e7ac20e7
7 changed files with 59 additions and 44 deletions

View File

@@ -59,7 +59,7 @@
<span class="icon-checkmark-circle"></span>
<strong><%= t("admin.menu.title_polls") %></strong>
</a>
<ul <%= "class=is-active" if menu_polls %>>
<ul id="polls_menu" <%= "class=is-active" if menu_polls %>>
<li <%= 'class=active' if controller_name == 'polls' %>>
<%= link_to t('admin.menu.polls'), admin_polls_path %>
</li>