Sha256: 5bfc40300922e01074eef80b1cd34c70385218db7766a69e3d6dd70a62cee40f

Contents?: true

Size: 976 Bytes

Versions: 7

Compression:

Stored size: 976 Bytes

Contents

!!! 5
%html
  %head
    %meta{ :charset => 'utf-8' }
    %title Bye bye, CanCan, I got the Role!
    = stylesheet_link_tag    'admin_the_role'
    = javascript_include_tag 'admin_the_role'
    = csrf_meta_tags
  %body
    .the_role
      %h3
        = link_to 'The Role', 'https://github.com/the-teacher/the_role'
        \|
        Role system for Rails Apps
        \|
        - u = current_user
        User: #{u.try(:name) || u.try(:username) || u.try(:login)|| u.try(:email) || u.id}
        \|
        = I18n.locale
    .crusty
      .container

        - if flash[:notice]
          .alert.alert-success
            %a.close{:href => '#', 'data-dismiss' => :alert } ×
            = flash[:notice]

        - if flash[:error]
          .alert.alert-error
            %a.close{:href => '#', 'data-dismiss' => :alert } ×
            = flash[:error]
        .row
          .span3
            .sidebar= yield :sidebar
          .span9
            .content= yield

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
the_role-2.0.1 app/views/layouts/the_role.html.haml
the_role-2.0.0 app/views/layouts/the_role.html.haml
the_role-1.7.0 app/views/layouts/the_role.html.haml
the_role-1.6.9 app/views/layouts/the_role.html.haml
the_role-1.6.8 app/views/layouts/the_role.html.haml
the_role-1.6.7 app/views/layouts/the_role.html.haml
the_role-1.6.6 app/views/layouts/the_role.html.haml