Sha256: d2aed232d6f7e538341786aea3a61da7af518c7774fda16a7262239df3e2968e

Contents?: true

Size: 786 Bytes

Versions: 1

Compression:

Stored size: 786 Bytes

Contents

%h1= t(:nodes)
%table{class: 'nodes-list'}
  %thead
    %tr
      %th{colspan: 3}= link_to image_tag('nodes/create.png'),
        new_node_path, class: 'nodes-action', :title => t(:add_new_node)
    %tr
      %th= link_to Nodes::Node.human_attribute_name(:name),
        {action: :sort, field: :name}, class: 'nodes-sort-action', :title => t(:sort_by_name)
    -#%th= link_to Node.human_attribute_name(:date), :action => :sort, :field => :date
    -#%th= link_to Entry.human_attribute_name(:tags), :action => :sort, :field => :tag_list
  %tbody
    - @nodes.each do |node|
      %tr
      -#%td= l(node.date, :format=>:long)
      %td= link_to node.name,  edit_node_path # "/entry/#{entry.title}"
      -#%td
      -#  - entry.tags.each do |tag|
      -#    =link_to tag, tag_path(tag)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nodes-0.2.4 app/views/nodes/nodes/index.haml