Sha256: d2b6f7543cf4f769f0153519458c27db66255e75ee1cc630617de17fc4d6d9b4

Contents?: true

Size: 985 Bytes

Versions: 2

Compression:

Stored size: 985 Bytes

Contents

        <div id="content-main">
          <div class="module">
            <table summary="Models available in the application.">
              <caption>
                <%= link_to("Models", url(:merb_admin_dashboard), :class => "section") %>
              </caption>
              <% @abstract_models.each do |abstract_model| %>
              <tr>
                <th scope="row">
                  <%= link_to(abstract_model.pretty_name, url(:merb_admin_list, :model_name => abstract_model.to_param)) %>
                </th>
                <td>
                  <%= link_to("Add", url(:merb_admin_new, :model_name => abstract_model.to_param), :class => "addlink") %>
                </td>
                <td>
                  <%= link_to("Edit", url(:merb_admin_list, :model_name => abstract_model.to_param), :class => "changelink") %>
                </td>
              </tr>
              <% end %>
            </table>
          </div>
        </div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
merb-admin-0.8.5 app/views/main/index.html.erb
merb-admin-0.8.3 app/views/main/index.html.erb