Sha256: 329e5a801da2141866f54582580ad7ba8cf3be0746b9cd49bbf739489f01bcea

Contents?: true

Size: 401 Bytes

Versions: 2

Compression:

Stored size: 401 Bytes

Contents

- title "Edit #{ @node.type.underscore.humanize.downcase }"

- if @node.trashed?
  - breadcrumbs.add 'Trash', push_type.trash_nodes_path
-else
  - for node in @node.ancestors.reverse
    - breadcrumbs.add node.title, push_type.node_nodes_path(node)
- breadcrumbs.add @node.title, push_type.edit_node_path(@node)

= form_for @node, url: push_type.node_path(@node) do |f|
  = render 'form_fields', f: f

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
push_type_admin-0.3.3 app/views/push_type/nodes/edit.html.haml
push_type_admin-0.3.1 app/views/push_type/nodes/edit.html.haml