Sha256: c66b10137d84a1e135d74bed4f8f33c48ecab1f9a9c92b4a7aa3bbd04ab55f6c

Contents?: true

Size: 1.39 KB

Versions: 12

Compression:

Stored size: 1.39 KB

Contents

<%= provide(:page_title, @model.display_name.pluralize(I18n.default_locale)) %>
<div class="row-fluid">
  <%=
    link_to(
      content_tag(
        :div,
        content_tag(
          :i,
          nil,
          :class => 'fa fa-plus-circle fa-2x'
        ) +
        content_tag(
          :span,
          t("gallery.new"),
          nil
        ),
        :class => "btn btn-box span2"
      ),
      new_gallery_path,
      data: { no_turbolink: true }
    )
  %>
</div>

<div class="row-fluid">
  <div class="widget widget-padding span12">
    <div class="widget-header">
          <%= content_tag :i, nil, class: "fa fa-#{@model.icon}" %>
          <h5><%= @model.display_name.pluralize(I18n.default_locale) %></h5>
        </div>
    <div class="widget-body">
      <div class="dataTables_wrapper form-inline">
        <table class="table table-striped table-bordered dataTable">
          <thead>
            <tr>
              <th><%= t("gallery.image") %></th>
              <th><%= t("gallery.position") %></th>
              <th><%= t("gallery.action") %></th>
            </tr>
          </thead>
          <tbody id = "galleries-content">
            <%= render 'galleries_table', :galleries => @galleries %>
          </tbody>
        </table>
        <div class="row-fluid">
          <div class="span6"></div>
          <div class="span6"></div>
        </div>
      </div>
    </div>
  </div>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
adminpanel-2.2.2 app/views/adminpanel/galleries/index.html.erb
adminpanel-2.2.1 app/views/adminpanel/galleries/index.html.erb
adminpanel-2.2.0 app/views/adminpanel/galleries/index.html.erb
adminpanel-2.1.7 app/views/adminpanel/galleries/index.html.erb
adminpanel-2.1.6 app/views/adminpanel/galleries/index.html.erb
adminpanel-2.1.5 app/views/adminpanel/galleries/index.html.erb
adminpanel-2.1.3 app/views/adminpanel/galleries/index.html.erb
adminpanel-2.1.2 app/views/adminpanel/galleries/index.html.erb
adminpanel-2.1.1 app/views/adminpanel/galleries/index.html.erb
adminpanel-2.1.0 app/views/adminpanel/galleries/index.html.erb
adminpanel-2.0.1 app/views/adminpanel/galleries/index.html.erb
adminpanel-2.0.0 app/views/adminpanel/galleries/index.html.erb