Sha256: 4bad326a50112265fcebdee92b2c82304239cfcae083d3e148bb5dbc9fb38be4

Contents?: true

Size: 785 Bytes

Versions: 4

Compression:

Stored size: 785 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.name
        %td= role.check_box :can_view
        %td= role.check_box :can_create

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cms-fortress-1.1.5 app/views/cms/fortress/roles/show.html.haml
cms-fortress-1.1.4 app/views/cms/fortress/roles/show.html.haml
cms-fortress-1.1.3 app/views/cms/fortress/roles/show.html.haml
cms-fortress-1.1.2 app/views/cms/fortress/roles/show.html.haml