fixed button, or attempt fix

This commit is contained in:
Andreas N 2015-01-02 17:40:34 +01:00
parent 65445954c8
commit dd21ce344b
1 changed files with 2 additions and 2 deletions

View File

@ -24,6 +24,8 @@
= nav_entry "Inbox", "/inbox", badge: inbox_count = nav_entry "Inbox", "/inbox", badge: inbox_count
= render "layouts/notifications" = render "layouts/notifications"
%ul.nav.navbar-nav.navbar-right %ul.nav.navbar-nav.navbar-right
.btn.btn-primary.navbar-btn.btn-sm.hidden-xs{"data-target" => "#modal-ask-followers", "data-toggle" => "modal", :type => "button"}
%i.fa.fa-pencil-square-o
%li.dropdown %li.dropdown
%a.dropdown-toggle{href: "#", "data-toggle" => "dropdown"} %a.dropdown-toggle{href: "#", "data-toggle" => "dropdown"}
= current_user.screen_name = current_user.screen_name
@ -39,8 +41,6 @@
%li= link_to "Moderation panel", moderation_path %li= link_to "Moderation panel", moderation_path
%li.divider %li.divider
%li= link_to "Logout", destroy_user_session_path, method: :delete %li= link_to "Logout", destroy_user_session_path, method: :delete
.btn.btn-primary.navbar-btn.hidden-xs{"data-target" => "#modal-ask-followers", "data-toggle" => "modal", :type => "button"}
%i.fa.fa-pencil-square-o
- else - else
%ul.nav.navbar-nav.navbar-right %ul.nav.navbar-nav.navbar-right
= nav_entry "Sign in", new_user_session_path = nav_entry "Sign in", new_user_session_path