Sha256: d9ef0762630018d01b518040537335e8582bf0d4d516c058b24d7c57d4921d1f

Contents?: true

Size: 1.51 KB

Versions: 10

Compression:

Stored size: 1.51 KB

Contents

<% content_for :meta_title, 'Editing My Profile' %>
<% content_for :meta_description, "This is where the site's user can edit his or her profile information" %>

<%= render 'tab_menu' %>

<%= simple_form_for @profile, url: profile_path do |f| %>
  <%= f.error_notification %>

    <h1>Private Information</h1>
    <p>Email: <strong><%= @profile.email %></strong>. Unfortunately, you cannot yet change your email address. This feature is coming soon.</p>
    <%= f.input :allow_newsletter, label: "Allow rare newsletter?&nbsp;&nbsp;".html_safe, hint: 'never more than once a month' %>
    <%= f.input :allow_daily_digests, label: "Allow daily activity digests?&nbsp;&nbsp;".html_safe, hint: "replies to your comments, etc." %>

    <h1>Public Information</h1>
    <%= f.input :first_name, label: t('activerecord.attributes.users.first_name') %>
    <%= f.input :last_name, label: t('activerecord.attributes.users.last_name') %>
    <%= f.input :other_name, label: render( 'shared/other_name_label') %>
    <%= f.input :portrait %>
    <%= f.input :website_url, hint: "DO include http:// or https://" %>
    <%= f.input :facebook_url, hint: "DO include http:// or https://" %>
    <%= f.input :twitter_handle, hint: "Only the handle. The part after @" %>
    <%= f.input :google_plus_url, label: "Google+ url", hint: "DO include http:// or https://" %>

    <%= f.button :submit, :class => 'btn btn-primary' %>
<% end %>

<%= render'admin_context_menu' %>
<%# partial in tkh_menus gem or has to be added in host app %>
<%= render './shared/menus' %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tkh_mailing_list-0.12 app/views/profiles/edit.html.erb
tkh_mailing_list-0.11.3 app/views/profiles/edit.html.erb
tkh_mailing_list-0.11.2 app/views/profiles/edit.html.erb
tkh_mailing_list-0.11.1.1 app/views/profiles/edit.html.erb
tkh_mailing_list-0.11.1 app/views/profiles/edit.html.erb
tkh_mailing_list-0.11 app/views/profiles/edit.html.erb
tkh_mailing_list-0.10.10 app/views/profiles/edit.html.erb
tkh_mailing_list-0.10.9.1 app/views/profiles/edit.html.erb
tkh_mailing_list-0.10.9 app/views/profiles/edit.html.erb
tkh_mailing_list-0.10.8 app/views/profiles/edit.html.erb