Sha256: 14e70963949528959f14aabd988123fa50c101ee50662a45b81e9c5eb5096ddb
Contents?: true
Size: 691 Bytes
Versions: 7
Compression:
Stored size: 691 Bytes
Contents
.secondary-navigation %ul %li{ :class => "first #{active == 'index' ? "active" : ''}"}= link_to('List', slice_url(:users)) %li{ :class => (active == 'create' ? "active" : '')}= link_to('Create', slice_url(:users_new)) - if active != 'create' && active != 'index' %li{ :class => (active == 'show' ? "active" : '')}= link_to('Show', slice_url(:users_show)) %li{ :class => (active == 'edit' ? "active" : '')}= link_to('Edit', slice_url(:users_edit, :user_id => params[:user_id])) %li= link_to('Delete', slice_url(:users_delete, :user_id => params[:user_id]), :method => "delete", :confirm => "Really delete user #{params[:user_id]}? There is no undo.") .clear
Version data entries
7 entries across 7 versions & 1 rubygems