Sha256: 7d054470637f305af1acd3039b4542a5fa05cc0019ebc959011d44b775fc2eb5

Contents?: true

Size: 437 Bytes

Versions: 8

Compression:

Stored size: 437 Bytes

Contents

%li
  = route.to_s
  %small
    (
    - if route == BrickLayer::Route.root
      = link_to "view page", "/brick_layer/pages", :target => "_blank"
    - else
      = link_to "view page", "/brick_layer/pages#{route.full_path}", :target => "_blank"
      
     | 
    = link_to "edit", edit_route_path(route)
    - unless route.slug == ""
       | 
      = link_to "add", new_route_path(route, :parent => route.id)
    )

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
brick_layer-0.10.2 app/views/brick_layer/routes/_route.html.haml
brick_layer-0.10.1 app/views/brick_layer/routes/_route.html.haml
brick_layer-0.10.0 app/views/brick_layer/routes/_route.html.haml
brick_layer-0.9.6 app/views/brick_layer/routes/_route.html.haml
brick_layer-0.9.4 app/views/brick_layer/routes/_route.html.haml
brick_layer-0.9.2 app/views/brick_layer/routes/_route.html.haml
brick_layer-0.9.1 app/views/brick_layer/routes/_route.html.haml
brick_layer-0.9.0 app/views/brick_layer/routes/_route.html.haml