Sha256: 5b2fc1c06b6df4e355be9101fead9a246d0df51ce895849cc3017ef58e05741c

Contents?: true

Size: 600 Bytes

Versions: 176

Compression:

Stored size: 600 Bytes

Contents

<h1>New role</h1>
<div id='role_new_container'></div>

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

var role = false;
$(document).ready(function() {

  role = new Model({
    name: 'Role',
    id: 'new',
    listing_url: 'get /admin/roles',
    create_url: 'post /admin/roles',
    attributes: [
      {
        name: 'parent_id',
        type: 'select',
        value: -1,
        text: "[No Parent]",
        options_url: '/admin/roles/options' 
      },
      { 
        name: 'name', 
        type: 'text',
        value: '' 
      }
    ]
  });
  
});

</script>
<% end %>

Version data entries

176 entries across 176 versions & 1 rubygems

Version Path
caboose-cms-0.1.97 app/views/caboose/roles/new.html.erb
caboose-cms-0.1.96 app/views/caboose/roles/new.html.erb
caboose-cms-0.1.93 app/views/caboose/roles/new.html.erb
caboose-cms-0.1.92 app/views/caboose/roles/new.html.erb
caboose-cms-0.1.91 app/views/caboose/roles/new.html.erb
caboose-cms-0.1.78 app/views/caboose/roles/new.html.erb
caboose-cms-0.1.35 app/views/caboose/roles/new.html.erb
caboose-cms-0.1.34 app/views/caboose/roles/new.html.erb
caboose-cms-0.1.7 app/views/caboose/roles/new.html.erb
caboose-cms-0.1.6 app/views/caboose/roles/new.html.erb
caboose-cms-0.1.5 app/views/caboose/roles/new.html.erb
caboose-cms-0.1.4 app/views/caboose/roles/new.html.erb
caboose-cms-0.1.3 app/views/caboose/roles/new.html.erb
caboose-cms-0.1.2 app/views/caboose/roles/new.html.erb
caboose-cms-0.1.1 app/views/caboose/roles/new.html.erb
caboose-cms-0.1.0 app/views/caboose/roles/new.html.erb