Sha256: 65a86c6838c4b47d13f1b0fb44c929df45636705cb62ae6b9f6ebb55585a50a7

Contents?: true

Size: 974 Bytes

Versions: 10

Compression:

Stored size: 974 Bytes

Contents

        <div id="content-main">
          <div class="module">
            <table summary="Models available in the application.">
              <caption>
                <%= link_to("Models", url(: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(:admin_list, :model_name => abstract_model.singular_name)) %>
                </th>
                <td>
                  <%= link_to("Add", url(:admin_new, :model_name => abstract_model.singular_name), :class => "addlink") %>
                </td>
                <td>
                  <%= link_to("Edit", url(:admin_list, :model_name => abstract_model.singular_name), :class => "changelink") %>
                </td>
              </tr>
              <% end %>
            </table>
          </div>
        </div>

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
sferik-merb-admin-0.4.0 app/views/main/index.html.erb
sferik-merb-admin-0.4.1 app/views/main/index.html.erb
sferik-merb-admin-0.4.2 app/views/main/index.html.erb
sferik-merb-admin-0.4.3 app/views/main/index.html.erb
merb-admin-0.4.8 app/views/main/index.html.erb
merb-admin-0.4.7 app/views/main/index.html.erb
merb-admin-0.4.6 app/views/main/index.html.erb
merb-admin-0.4.5 app/views/main/index.html.erb
merb-admin-0.4.4 app/views/main/index.html.erb
merb-admin-0.4.3 app/views/main/index.html.erb