Sha256: 0b9f8450c601e4f889872ceedd6d1334636245622115c05cff41599b70b47574
Contents?: true
Size: 716 Bytes
Versions: 11
Compression:
Stored size: 716 Bytes
Contents
- if current_page?(action: 'new') - heading = 'New' - subheading = 'Add' - elsif current_page?(action: 'new') - heading = 'Edit' - subheading = 'Update' - else - subheading = 'Settings' section.content-header h1 | #{heading} #{controller_name.singularize.camelize} small | #{subheading} ol.breadcrumb li a href=pages_path i.fa.fa-dashboard | Home li class=(current_page?(eval("#{controller_name.singularize}_path")) ? :active : nil) a href="#{controller_name}_path" = controller_name.camelize - unless current_page?(eval("#{controller_name.singularize}_path")) li.active | #{heading} #{controller_name.singularize.camelize}
Version data entries
11 entries across 11 versions & 1 rubygems