Sha256: cb7dfdaa38790ea15be7004f31dd6b72f567cef62728b31f2e4a072956c9ab7e
Contents?: true
Size: 752 Bytes
Versions: 13
Compression:
Stored size: 752 Bytes
Contents
:css #image_gallery li { display: inline; list-style: none; width: 300px; min-height: 300px; float: left; margin: 0 10px 10px 0; text-align: center; } = form_for @gallery do |f| %h2 Gallery Name: = f.text_field :name = f.submit "Save Gallery" %ul#image_gallery - paginated_images_for(@gallery).each do |image| %li = image_tag image.image.url(:medium) = will_paginate paginated_images_for(@gallery) #upload_form = form_for [@gallery, Image.new(:gallery=>@gallery)], :html=>{:id=>'upload', :multipart=>true} do |f| - params.slice(:CKEditor, :CKEditorFuncNum, :langCode).each do |key, val| = hidden_field_tag key, val = f.file_field :image = f.submit :disable_with=>"Uploading..."
Version data entries
13 entries across 13 versions & 1 rubygems