Sha256: 1a27d71f6addbca2419af5c97c7d66ec13868c056453b205ecae4e4be557f92e

Contents?: true

Size: 498 Bytes

Versions: 1

Compression:

Stored size: 498 Bytes

Contents

module RubyGallery::RubyGalleryHelper
  def show_gallery_images(model_name, opts={})
    object = model_name.to_s.singularize.classify.constantize.find(params[:id])
    content_tag(:div, class: "upload-box") do
      content_tag(:div, class: "legend", "#{t('details.upload_album')}"),
      content_tag(:div, class: "form-box") do
        content_tag(:form, id: "fileupload", class: "fileupload", method: "POST", enctype: "multipart/form-data") do
          
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby_gallery-0.1.1 app/helpers/ruby_gallery/ruby_gallery_helper.rb