Sha256: 925e9ae5f9b6353bd29918c6ed769392a401e7a59c9bb8ba8825add832c905cd

Contents?: true

Size: 802 Bytes

Versions: 3

Compression:

Stored size: 802 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_display(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

3 entries across 3 versions & 1 rubygems

Version Path
cms-fortress-1.1.8 app/views/cms/fortress/roles/show.html.haml
cms-fortress-1.1.7 app/views/cms/fortress/roles/show.html.haml
cms-fortress-1.1.6 app/views/cms/fortress/roles/show.html.haml