<% if @show_script %> <%= stylesheet_link_tag "gallery" %> <%= stylesheet_link_tag "lib/tags-groups" %> <% content_for :page_specific_javascript do %> <%= javascript_include_tag "lib/jquery-ui-1.10.0.custom.min" %> <%= javascript_include_tag "jquery.masonry.min.js" %> <%= javascript_include_tag "jquery.lite.image.resize.js" %> <%= javascript_include_tag "gallery" %> <% end %> <%= render_filter @filter_fields, "orbit_gallery" %>
Albums re-ordering enabled.
<%= render 'recreate_thumb' %> <%= form_tag '/admin/galleries/update_album_setting',remote: true,:class=>'update_album_setting_form' do %> <%= t('gallery.album_limit_for_one_page') %>: <%= text_field_tag :album_setting_limit, AlbumSetting.first.limit,:placeholder => t('gallery.blank_for_nil') %> <% end %>
<% if can_edit_or_delete?(nil) %> <%= t('gallery.edit_order') %> <% end %> <% if @fiter_albums.length > @limit_count %> <% end %>
<% else %> <%= render :partial => "album", :collection => @albums %> <% end %>