Sha256: 83203777a05caef3000cd1dee2991d4578376ea25b009b5af50e86734e6d7874

Contents?: true

Size: 873 Bytes

Versions: 35

Compression:

Stored size: 873 Bytes

Contents

- url = profile.persisted? ? profile_path( profile.id ) : profiles_path

= form_for profile, :as => :profile, :url => url do |f|
  .input-field
    %label name
    = f.text_field :name
    
  .input-field
    %label username
    = f.text_field :username
    
  .input-field
    %label email
    = f.text_field :email
    
  .input-field
    = f.select :role_name, options_for_select( [[nil, nil]] + IshModels::UserProfile::ROLES.map { |r| [ r, r ] }, :selected => profile.role_name )
    %label role name

  .input-field
    = f.select :current_city, options_for_select( @cities_list, :selected => profile.current_city_id )
    %label City
    
  .input-field
    = f.label :fb_access_token
    = f.text_field :fb_access_token
  .input-field
    = f.label :fb_long_access_token
    = f.text_field :fb_long_access_token
  
  = f.submit 'Save', :class => %w(button)
  
    

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
ish_manager-0.1.8.249 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.248 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.247 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.246 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.245 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.244 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.243 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.242 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.241 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.239 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.238 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.237 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.236 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.235 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.234 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.233 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.232 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.231 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.230 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.229 app/views/ish_manager/user_profiles/_form.haml