Sha256: 09543c3e352562d03774a1a1b6f907bbc9bd7aa5fbb3c5c59ad96eda91cdaa8e

Contents?: true

Size: 803 Bytes

Versions: 39

Compression:

Stored size: 803 Bytes

Contents

.move_actions.dent_actions
  = form_link('Outdent', route_to(:sitemap, model.id, 'outdent'), false, {:method => 'post', :class => 'outdent arrow'}) if model.level > 1
  %p= ' '
.move_actions
  - if model.previous_sibling
    = form_link('Up', route_to(:sitemap, model.id, 'higher'), false, {:method => 'post', :class => 'up arrow'}) 
  - else
    %p.disabled_up.arrow= ' '
  - if model.next_sibling
    = form_link('Down', route_to(:sitemap, model.id, 'lower'), false, {:method => 'post', :class => 'down arrow'}) 
  - else
    %p.disabled_down.arrow= ' '
.move_actions.dent_actions
  = form_link('Indent', route_to(:sitemap, model.id, 'indent'), false, {:method => 'post', :class => 'indent arrow'}) if model.previous_sibling && model.previous_sibling.level == model.level
  %p= ' '

Version data entries

39 entries across 39 versions & 2 rubygems

Version Path
orange-0.3.5 lib/orange-more/sitemap/views/sitemap/route_actions.haml
orange-0.3.4 lib/orange-more/sitemap/views/sitemap/route_actions.haml
orange-0.3.3 lib/orange-more/sitemap/views/sitemap/route_actions.haml
orange-0.3.2 lib/orange-more/sitemap/views/sitemap/route_actions.haml
orange-0.3.1 lib/orange-more/sitemap/views/sitemap/route_actions.haml
orange-0.3.0 lib/orange-more/sitemap/views/sitemap/route_actions.haml
orange-0.2.11 lib/orange-more/sitemap/views/sitemap/route_actions.haml
orange-0.2.9 lib/orange-more/sitemap/views/sitemap/route_actions.haml
orange-0.2.8 lib/orange-more/sitemap/views/sitemap/route_actions.haml
orange-0.2.7 lib/orange-more/sitemap/views/sitemap/route_actions.haml
orange-0.2.6 lib/orange-more/sitemap/views/sitemap/route_actions.haml
orange-0.2.5 lib/orange-more/sitemap/views/sitemap/route_actions.haml
orange-0.2.4 lib/orange-more/sitemap/views/sitemap/route_actions.haml
orange-0.2.3 lib/orange-more/sitemap/views/sitemap/route_actions.haml
orange-0.1.10 lib/orange-more/sitemap/views/sitemap/route_actions.haml
orange-0.1.8 lib/orange-more/sitemap/views/sitemap/route_actions.haml
orange-0.1.7 lib/orange-more/sitemap/views/sitemap/route_actions.haml
orange-0.1.4 lib/orange-more/sitemap/views/sitemap/route_actions.haml
orange-0.1.2 lib/orange-more/sitemap/views/sitemap/route_actions.haml