Sha256: ab17e937b002add574bb852d6426fd0015c1833fb7611ba2002bee96530c530f
Contents?: true
Size: 573 Bytes
Versions: 14
Compression:
Stored size: 573 Bytes
Contents
- title "New #{ @node.type.underscore.humanize.downcase }" - if @parent - for node in @parent.self_and_ancestors.reverse - breadcrumbs.add node.title, push_type_admin.node_nodes_path(node) - breadcrumbs.add yield(:title), push_type_admin.new_node_node_path(@parent, kind: @node.type.underscore) - else - breadcrumbs.add yield(:title), push_type_admin.new_node_path(kind: @node.type.underscore) = render 'form_fields', url: @parent ? push_type_admin.node_nodes_path(@parent, kind: @node.type.underscore) : push_type_admin.nodes_path(kind: @node.type.underscore)
Version data entries
14 entries across 14 versions & 1 rubygems