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.3.38 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.37 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.36 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.35 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.34 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.33 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.32 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.31 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.30 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.29 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.28 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.27 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.26 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.25 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.24 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.23 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.22 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.20 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.19 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.17 app/views/caboose/roles/new.html.erb