Sha256: 86b2a0ef1cc4c4e188f623381294aeacad00a125863895117379224ee4386df5

Contents?: true

Size: 1.2 KB

Versions: 53

Compression:

Stored size: 1.2 KB

Contents

-#
-# ish_manager / user_profiles / _form
-#

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

.row
  .col.s6
    = form_for profile, :html => { :multipart => true }, :as => :profile, :url => url do |f|
      .input-field
        %label name
        = f.text_field :name

      .input-field
        %label email
        = f.text_field :email

      .input-field
        %label leadset_id
        = f.number_field :leadset_id

      .input-field
        %label Change profile pic
        %br
        = file_field_tag :photo
        = image_tag profile.profile_photo.photo.url(:thumb) rescue nil
        %br
        %br

      .input-field
        = f.select :role_name, options_for_select( [[nil, nil]] + Ish::UserProfile::ROLES.map { |r| [ r, r ] }, :selected => profile.role_name )
        %label role name

      .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

      .input-field
        = f.label :customer_id
        = f.text_field :customer_id
        %label [X]
        = check_box_tag :delete_customer_id



      = f.submit 'Save', :class => %w(button)


Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
ish_manager-0.1.8.513 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.512 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.511 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.510 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.509 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.508 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.507 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.506 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.505 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.504 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.503 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.500 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.499 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.498 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.497 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.496 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.495 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.494 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.493 app/views/ish_manager/user_profiles/_form.haml
ish_manager-0.1.8.492 app/views/ish_manager/user_profiles/_form.haml