Sha256: 8772692185e18e1e42646ed6420824333fa6fd9f1807450abbab12e210d08796

Contents?: true

Size: 1.52 KB

Versions: 18

Compression:

Stored size: 1.52 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 your #{link_to "Storefront", store_old_storefront_event_path(@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 We recommend your image be at least 300 pixels wide
              %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 btn-primary'
            = form.submit "Upload & Next".html_safe, :class => 'btn btn-success'

    .image-display
      =image_tag(@event.image.url) if @event.image?        

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
artfully_ose-1.3.0.pre4 app/views/events/image.html.haml
artfully_ose-1.3.0.pre3 app/views/events/image.html.haml
artfully_ose-1.3.0.pre2 app/views/events/image.html.haml
artfully_ose-1.3.0.pre1 app/views/events/image.html.haml
artfully_ose-1.2.0 app/views/events/image.html.haml
artfully_ose-1.2.0.beta.1 app/views/events/image.html.haml
artfully_ose-1.2.0.alpha.2 app/views/events/image.html.haml
artfully_ose-1.2.0.alpha.1 app/views/events/image.html.haml
artfully_ose-1.2.0.pre.27 app/views/events/image.html.haml
artfully_ose-1.2.0.pre.26 app/views/events/image.html.haml
artfully_ose-1.2.0.pre.24 app/views/events/image.html.haml
artfully_ose-1.2.0.pre.23 app/views/events/image.html.haml
artfully_ose-1.2.0.pre.21 app/views/events/image.html.haml
artfully_ose-1.2.0.pre.20 app/views/events/image.html.haml
artfully_ose-1.2.0.pre.19 app/views/events/image.html.haml
artfully_ose-1.2.0.pre.18 app/views/events/image.html.haml
artfully_ose-1.2.0.pre.17 app/views/events/image.html.haml
artfully_ose-1.2.0.pre.16 app/views/events/image.html.haml