Sha256: e3f34b64cc5ed4ef3e0f6c90793d4ab2ddbea9f819fdb2173eba3426eefaf629
Contents?: true
Size: 840 Bytes
Versions: 4
Compression:
Stored size: 840 Bytes
Contents
%div{ class:"sidebar #{controller.controller_name}" } %span#sidebar-toggle %i.fa.fa-navicon .pusher - if Rails.configuration.hackathon['logo_asset'] #logo-cta = link_to root_path do = image_tag Rails.configuration.hackathon['logo_asset'], id: 'logo', alt: "#{Rails.configuration.hackathon['name']} logo", title: Rails.configuration.hackathon['name'] - if user_signed_in? %div - if current_user.admin? = btn_link_to "Manage", manage_root_path - else = btn_link_to "Review", new_questionnaires_path - else %div = btn_link_to "Sign In", new_user_session_path %div = btn_link_to "Sign Up", new_user_registration_path - if user_signed_in? %div = btn_link_to "Sign Out", destroy_user_session_path, method: :delete
Version data entries
4 entries across 4 versions & 1 rubygems