Sha256: fd1240fa9fc61c645980ed8bf3effcf1c2fd4e321eed96c547f7f3db680d58a6
Contents?: true
Size: 411 Bytes
Versions: 8
Compression:
Stored size: 411 Bytes
Contents
- provide :title, "Edit #{controller_name.classify}" - navigation_add controller_name.titleize, [controller_name] .form-page .form-page__intro - begin %h1 #{controller_name.gsub('_', ' ').singularize.titleize}: = instance_variable_get("@#{controller_name.singularize}").name - rescue %h1= "Edit #{controller_name.gsub('_', ' ').singularize.titleize}" = render 'form'
Version data entries
8 entries across 8 versions & 1 rubygems