Sha256: 76ffbf7f877f228888194c9fc5e8ed364f3018c35d711fb3ca00f06a7770716d
Contents?: true
Size: 750 Bytes
Versions: 11
Compression:
Stored size: 750 Bytes
Contents
- if current_page?(action: 'new') - heading = 'New' - subheading = 'Add' - elsif current_page?(action: 'new') - heading = 'Edit' - subheading = 'Update' - else - subheading = 'List' section.content-header h1 | #{heading} #{(current_page?(action: 'index') ? controller_name.camelize : 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}_path")) ? :active : nil) a href="#{controller_name}_path" = controller_name.camelize - unless current_page?(eval("#{controller_name}_path")) li.active | #{heading} #{controller_name.singularize.camelize}
Version data entries
11 entries across 11 versions & 1 rubygems