<%= block_title(block.title) %> <% unless block.images.blank? %> <%= link_to content_tag(:span, _('Previous')), '#', :class => 'gallery-block-prev gallery-block-arrow icon-left' %> <%= link_to content_tag(:span, _('Next')), '#', :class => 'gallery-block-next gallery-block-arrow icon-right' %> <% else %> <%= _('Please, edit this block and choose some gallery') %> <% end %>