Browse Source

Hide admin view button on small devices

denney-fix-saving-dates
Jason Denney 11 years ago
parent
commit
61472e0fb6
  1. 2
      app/views/site/index.html.haml

2
app/views/site/index.html.haml

@ -16,6 +16,6 @@
%p %p
%p %p
%a{class: "btn btn-lg btn-block btn-primary", href: admin_index_path} Admin View %a{class: "btn btn-lg btn-block btn-primary hidden-xs", href: admin_index_path} Admin View
%p %p
%input{id: "index_logout", value: "Logout", type: "button", class: "btn btn-lg btn-block btn-danger", "data-url" => destroy_user_session_path } %input{id: "index_logout", value: "Logout", type: "button", class: "btn btn-lg btn-block btn-danger", "data-url" => destroy_user_session_path }

Loading…
Cancel
Save