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.84 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.83 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.82 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.81 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.80 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.79 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.78 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.71 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.70 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.68 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.67 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.66 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.65 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.64 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.62 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.57 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.55 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.54 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.52 app/views/caboose/permissions/edit.html.erb
caboose-cms-0.2.50 app/views/caboose/permissions/edit.html.erb