Sha256: 3d3cb1946860fd4d74a2aa0b5d9ee312b60ab912d8f24778166b4392567f1b62
Contents?: true
Size: 970 Bytes
Versions: 1
Compression:
Stored size: 970 Bytes
Contents
%h1 Configure Permissions for Roles = form_tag update_all_authengine_action_roles_path,:method => :put do %table{:style=>"width:780px"} %tr %th{:style=>"width:200px"} Controller %th{:style=>"width:125px"} Action - for role in @roles do %th{:style=>"width:70px"} = role %div{:style=>"height:400px; width:1000px; margin-r:0px; overflow:auto"} %table{:style=>"width:780px"} - for action in @actions do %tr{:class=>"#{cycle('odd', 'even')}"} %td{:style=>"width:200px"} = action.controller_name %td{:style=>"width:125px"} = action.action_name - for role in @roles do %td{:style=>"width:70px"} %input{:name=>"permission[#{role.id}][#{action.id}]" , :type=>"hidden", :value=>'0'} = check_box_tag("permission[#{role.id}][#{action.id}]", "1", @allowed[role.id].include?(action.id) ) = submit_tag 'Save'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
authengine-0.0.2 | app/views/authengine/actions/index.html.haml |