cirandas.net

ref: master

app/helpers/gallery_helper.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
module GalleryHelper

  include ArticleHelper

  def extra_options
    content_tag(
        'div',
        check_box(:article, :allow_download) +
        content_tag('label', _('Allow images from this gallery to be downloaded'), :for => 'article_allow_download')
    )
  end

end