Sha256: e0849e8db3dd11b70c8996997a17d2e03ce6a868d80e93c6f7b882fbae1b3718

Contents?: true

Size: 550 Bytes

Versions: 8

Compression:

Stored size: 550 Bytes

Contents

-box :id => "profile_details" do
  = form_for :avatar, :url => upload_profile_photo_user_url(@user), :method => 'put', :multipart =>true, :html => {:class => 'MainForm'} do |f|

    = error_messages_for :avatar
    %h3=:profile_photo.l
      
    = @user.vendor ? "<div class='right_corner'><div class='community_pro'></div></div>" : ''
    = image_tag( @user.avatar_photo_url(:medium), :class => "polaroid" )

    %label
      =:choose_a_photo_for_your_profile.l
    = f.file_field :photo, :size => "20"
  
    %p
      = submit_tag :save_changes.l

Version data entries

8 entries across 8 versions & 1 rubygems

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