Sha256: e2adec6e2e0db08e3b09db2935912aeedf6b33f64a4974b36d2ac67665884141
Contents?: true
Size: 1.82 KB
Versions: 3
Compression:
Stored size: 1.82 KB
Contents
<%= provide(:page_title, t("model.Adminpanel::Gallery")) %> <div class="row-fluid"> <%= link_to( content_tag( :div, content_tag( :i, nil, :class => 'icon-plus-sign icon-2x' ) + content_tag( :span, t("gallery.new"), nil ), :class => "btn btn-box span2" ), new_gallery_path ) %> </div> <div class="row-fluid"> <div class="widget widget-padding span12"> <div class="widget-header"> <i class="icon-picture"></i> <h5><%= t("model.Adminpanel::Gallery") %></h5> </div> <div class="widget-body"> <div class="dataTables_wrapper form-inline"> <table id="information-table" class="table table-striped table-bordered dataTable"> <thead> <tr> <th>Imagen</th> <th>Acción</th> </tr> </thead> <tbody> <% @galleries.each do |gallery| %> <tr> <td><%= link_to image_tag(gallery.file_url(:thumb)), gallery_path(gallery) %></td> <td> <%= link_to content_tag(:i, nil, :class => 'icon-pencil'), edit_gallery_path(gallery), :title => t("action.edit") %> <%= link_to content_tag(:i, nil, :class => 'icon-remove'), gallery_path(gallery), :title => t("action.delete"), :method => :delete, :data => { :confirm => t("action.delete confirmation") } %> </td> </tr> <% end %> </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