Sha256: 48e11d4542a9f009ceaab581c2bfddadd6176a014567c01d090f1177e851febc

Contents?: true

Size: 502 Bytes

Versions: 1

Compression:

Stored size: 502 Bytes

Contents

<%% content_for :body_content_left do %>
  <ul id="<%= plural_name %>">
    <%% @<%= "all_" if plural_name == singular_name%><%= plural_name %>.each do |<%= singular_name %>| %>
      <li>
        <%%= link_to <%= singular_name %><% if (title = attributes.detect { |a| a.type.to_s == "string" }).present? %>.<%= title.name %><% end %>, main_app.phoenix_<%= singular_name %>_path(<%= singular_name %>) %>
      </li>
    <%% end %>
  </ul>
<%% end %>

<%%= render :partial => "/phoenix/content_page" %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phoenix_core-0.2.1.beta lib/generators/phoenix/extension/templates/app/views/phoenix/plural_name/plural_name/index.html.erb