Sha256: 786cadb5475d057ec0f254b4a760c982c120a165da445ac65ab6659092c6312f

Contents?: true

Size: 789 Bytes

Versions: 6

Compression:

Stored size: 789 Bytes

Contents

.page-header
  .btn-group.pull-right
    =# link_to t('.edit'), edit_cms_fortress_role_path(@cms_fortress_role), :class => 'btn'
    = link_to t('cms.fortress.roles.load'), refresh_cms_fortress_role_path(@cms_fortress_role), :class => 'btn', :method => :post
    = link_to t('cms.fortress.roles.back'), cms_fortress_roles_path, :class => 'btn'
  %h2= "Role: #{ @cms_fortress_role.name }"
  %p= @cms_fortress_role.description


= form_for @cms_fortress_role, :html => {:class => ''} do |f|

  %table.table
    %tr
      %th 
      %th Show
      %th Manage
    = f.fields_for :role_details do |role|
      %tr
        %td= role.object.command
        %td= role.check_box :can_view
        %td= role.check_box :can_create

  .form-actions
    = f.submit 'Save', :class => 'btn btn-primary'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cms-fortress-1.1.1 app/views/cms/fortress/roles/show.html.haml
cms-fortress-1.1.0 app/views/cms/fortress/roles/show.html.haml
cms-fortress-1.0.12 app/views/cms/fortress/roles/show.html.haml
cms-fortress-1.0.9 app/views/cms/fortress/roles/show.html.haml
cms-fortress-1.0.8 app/views/cms/fortress/roles/show.html.haml
cms-fortress-1.0.7 app/views/cms/fortress/roles/show.html.haml