scinote-web/app/views/users/settings/_navigation.html.erb
2016-02-12 16:52:43 +01:00

8 lines
No EOL
455 B
Text

<ul class="nav nav-tabs nav-settings">
<li role="presentation" class="<%= "active" if action_name == "preferences" %>">
<%= link_to t("users.settings.navigation.preferences"), preferences_path %>
</li>
<li role="presentation" class="<%= "active" if action_name.in?(["organizations", "organization", "new_organization", "create_organization"]) %>">
<%= link_to t("users.settings.navigation.organizations"), organizations_path %>
</li>
</ul>