Sha256: ce6f10851038022300188521d9cbeb169e9899def3a3d3c422562c9daa971fcf
Contents?: true
Size: 645 Bytes
Versions: 11
Compression:
Stored size: 645 Bytes
Contents
.secondary-navigation %ul %li{ :class => "first #{active == 'index' ? "active" : ''}"}= link_to('List', slice_url(:roles)) %li{ :class => (active == 'create' ? "active" : '')}= link_to('Create', slice_url(:new_role)) - if active != 'create' && active != 'index' %li{ :class => (active == 'show' ? "active" : '')}= link_to('Show', slice_url(:role, @role.name)) %li{ :class => (active == 'edit' ? "active" : '')}= link_to('Edit', slice_url(:edit_role, @role.name)) %li= link_to('Delete', slice_url(:role, @role.name), :method => "delete", :confirm => "Really delete Role #{@role.name}? There is no undo.") .clear
Version data entries
11 entries across 11 versions & 2 rubygems