Sha256: bd198878d6a8d3643516dee159227443e8f8446486de0dcde810fa31b14314ba

Contents?: true

Size: 682 Bytes

Versions: 82

Compression:

Stored size: 682 Bytes

Contents

 
<h1>Edit Permission</h1>
<div id='permission_<%= @permission.id %>_container'></div>

<% content_for :caboose_js do %>
<script type="text/javascript">

$(document).ready(function() {
  var permission = new Model({
    name: 'Permission',
    id: <%= @permission.id %>,
    listing_url: 'get /admin/permissions',
    update_url: 'put /admin/permissions/<%= @permission.id %>',
    delete_url: 'delete /admin/permissions/<%= @permission.id %>',
    attributes: [
      { name: 'resource' , type: 'text', value: "<%= @permission.resource %>" },
      { name: 'action2'  , type: 'text', value: "<%= @permission.action   %>", nice_name: 'Action' }
    ]
  });
});

</script>
<% end %>

Version data entries

82 entries across 82 versions & 1 rubygems

Version Path
caboose-cms-0.2.29 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.28 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.26 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.25 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.24 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.23 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.22 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.21 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.20 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.19 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.18 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.17 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.16 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.15 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.14 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.11 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.8 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.7 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.6 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.5 app/views/caboose/permissions/edit.html.erb