Sha256: a8b275d6c4d19444fd6f63cd321b38a1552015ffd56f871ea293895d09258a34

Contents?: true

Size: 1.42 KB

Versions: 2

Compression:

Stored size: 1.42 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: "DO include http:// or https://" %>
    <%= 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' %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tkh_mailing_list-0.10.6 app/views/profiles/edit.html.erb
tkh_mailing_list-0.10.5 app/views/profiles/edit.html.erb