Sha256: 93e0beeda40810ea79fd21c1f4253bd36633e7f86eee71b147a169375ab23e77

Contents?: true

Size: 324 Bytes

Versions: 5

Compression:

Stored size: 324 Bytes

Contents

- content_for :navigation do
  = aureus_navigation do |n|
    - n.title t('.title')
    - n.button link_to(t('.button_edit'), edit_{{{path_singular}}}_url(@{{{name_singular}}})) if can? :update, @{{{name_singular}}}
    - n.button link_to(t('.button_back'),{{{path_plural}}}_url) if can? :index, {{{model}}}

= render 'item'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
aureus-2.1.4 lib/generators/aureus/views/templates/views/show.html.haml
aureus-2.1.3 lib/generators/aureus/views/templates/views/show.html.haml
aureus-2.1.2 lib/generators/aureus/views/templates/views/show.html.haml
aureus-2.1.1 lib/generators/aureus/views/templates/views/show.html.haml
aureus-2.1.0 lib/generators/aureus/views/templates/views/show.html.haml