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.78 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.77 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.76 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.75 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.74 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.73 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.72 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.71 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.70 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.69 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.68 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.67 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.66 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.65 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.64 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.63 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.62 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.61 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.60 app/views/caboose/roles/new.html.erb
caboose-cms-0.3.59 app/views/caboose/roles/new.html.erb