Sha256: 50dcfacb1432acc7b2452cfdedf2f25333e9b062d9ea421fef1539573e44bd1c
Contents?: true
Size: 1.38 KB
Versions: 3
Compression:
Stored size: 1.38 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
3 entries across 3 versions & 1 rubygems