Sha256: 5bdee8344726a9f850976bd2c99db7639c58a28b43fa97c5b66f774166be907f

Contents?: true

Size: 1005 Bytes

Versions: 8

Compression:

Stored size: 1005 Bytes

Contents

.yui-b
  -box :class => "alt first_alt" do 
    %h3=:get_started.l + ' ' + :upload_a_profile_photo.l
    %p
      =:photo_message.l :site => configatron.community_name
    = link_to :skip_this_step.l, welcome_about_user_path(@user)
    %br/
    = link_to :go_to_your_profile.l, user_path(@user)

#yui-main
  .yui-b
    -box do 
      = form_for( @user, :url => user_path(:welcome => 'about'), :method => :put, :multipart => true, :html => {:class => "MainForm"}) do |f|
        %h3=:profile_photo.l
        %p.centered
          = image_tag( @user.avatar_photo_url(:medium), :class => "right" )
            
        = f.fields_for :avatar, @avatar do |avatar_form|
          %label
            =:choose_a_photo_to_upload.l
            %em          
              - if @user.vendor?
                =:vendor_avatar_hint.l
              =:photos_should_be_x_pixels.l

          = avatar_form.file_field :photo, :size => '15'
            
        %p
          = submit_tag :upload_and_continue_to_step_two.l

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
community_engine-2.3.2 app/views/users/welcome_photo.html.haml
community_engine-2.3.1 app/views/users/welcome_photo.html.haml
community_engine-2.3.0 app/views/users/welcome_photo.html.haml
community_engine-2.1.0 app/views/users/welcome_photo.html.haml
community_engine-2.0.0 app/views/users/welcome_photo.html.haml
community_engine-2.0.0.beta3 app/views/users/welcome_photo.html.haml
community_engine-2.0.0.beta2 app/views/users/welcome_photo.html.haml
community_engine-2.0.0.beta1 app/views/users/welcome_photo.html.haml