Sha256: 464bbbff5e56e3fbcc116aa0351c1a7c4fad23719d619f6c447d5a3dc2a846a8

Contents?: true

Size: 274 Bytes

Versions: 9

Compression:

Stored size: 274 Bytes

Contents

<h1>Helpers</h1>


<h2>path_list helper</h2>

<% paths = path_list(current_resource.path) %>
<% if paths.length > 0 %>
<ul>
    <% paths.each do |path| %>
      <li><%= "#{path[:name]}:#{path[:path]}" %></li>
    <% end %>
  </ul>
<% else %>
  <p>No Path List</p>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
middleman-tansu-0.1.4 fixtures/path-list-app/source/templates/index.html.erb
middleman-tansu-0.1.3 fixtures/path-list-app/source/templates/index.html.erb
middleman-tansu-0.1.2 fixtures/path-list-app/source/templates/index.html.erb
middleman-tansu-0.1.1 fixtures/path-list-app/source/templates/index.html.erb
middleman-tansu-0.1.0 fixtures/path-list-app/source/templates/index.html.erb
middleman-tansu-0.0.4 fixtures/path-list-app/source/templates/index.html.erb
middleman-tansu-0.0.3 fixtures/path-list-app/source/templates/index.html.erb
middleman-tansu-0.0.2 fixtures/path-list-app/source/templates/index.html.erb
middleman-tansu-0.0.1 fixtures/path-list-app/source/templates/index.html.erb