Sha256: 003b60643e109b37002a6fc3773a5f3062581e875e73a7ca47db24b8503f2bee

Contents?: true

Size: 994 Bytes

Versions: 16

Compression:

Stored size: 994 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.plural_name.to_s.capitalize, url(:merb_admin_list, :model_name => abstract_model.singular_name)) %>
                </th>
                <td>
                  <%= link_to("Add", url(:merb_admin_new, :model_name => abstract_model.singular_name), :class => "addlink") %>
                </td>
                <td>
                  <%= link_to("Edit", url(:merb_admin_list, :model_name => abstract_model.singular_name), :class => "changelink") %>
                </td>
              </tr>
              <% end %>
            </table>
          </div>
        </div>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
merb-admin-0.6.6 app/views/main/index.html.erb
merb-admin-0.6.5 app/views/main/index.html.erb
merb-admin-0.6.4 app/views/main/index.html.erb
merb-admin-0.6.3 app/views/main/index.html.erb
merb-admin-0.6.2 app/views/main/index.html.erb
merb-admin-0.6.1 app/views/main/index.html.erb
merb-admin-0.6.0 app/views/main/index.html.erb
merb-admin-0.5.7 app/views/main/index.html.erb
merb-admin-0.5.6 app/views/main/index.html.erb
merb-admin-0.5.5 app/views/main/index.html.erb
merb-admin-0.5.4 app/views/main/index.html.erb
merb-admin-0.5.3 app/views/main/index.html.erb
merb-admin-0.5.2 app/views/main/index.html.erb
merb-admin-0.5.1 app/views/main/index.html.erb
merb-admin-0.5.0 app/views/main/index.html.erb
merb-admin-0.4.9 app/views/main/index.html.erb