Sha256: c404650497fa4d641aec8c7b82ab3d8c68751fec861fcf802a3a209ff7588d0b
Contents?: true
Size: 1.34 KB
Versions: 2
Compression:
Stored size: 1.34 KB
Contents
- in_section :events - content_for :header do =render :partial=>'header' .row .span3 - in_sub_section :details =render :partial=>'menu' .span9 .row-fluid .span8 = render "shared/error_messages", :target => @event .instructions.row-fluid .span2 =icon_tag('266-upload@2x', {:alt => "instructions", :align => "left"}) .span10 %p ="Spruce up this event with an image! This image will be displayed on both #{link_to "your Storefront", store_event_url(@event)} (where patrons will purchase tickets) and within your Artful.ly management pages.".html_safe %ul{:style => "list-style-type: circle;"} %li Image size is limited to 1 MB %li Only .jpg, .jpeg, .gif, and .png file formats are supported %li Your image will be displayed with equal height and width %li You can come back to this page to change the image at any time = form_for( @event, :html => { :multipart => true } ) do |form| .control-group =form.label :image, "Choose your image:", :class => 'control-label' .controls =form.file_field :image .form-actions = form.submit "Upload", :class => 'btn' .image-display =image_tag(@event.image.url) if @event.image?
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
artfully_ose-1.0.0.rc4 | app/views/events/image.html.haml |
artfully_ose-1.0.0.rc3 | app/views/events/image.html.haml |