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