Sha256: 8c4eb643b069d78b5b609f10009d5980fd1d09e87b4caf72e2f065dad60abac1
Contents?: true
Size: 997 Bytes
Versions: 133
Compression:
Stored size: 997 Bytes
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 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 = f.submit 'Save', :class => %w(button)
Version data entries
133 entries across 133 versions & 1 rubygems