- reader ||= @reader - check_password ||= false - form_for reader, :html => {:class => 'friendly'} do |f| - render_region :profile_form do |form| - form.edit_honorific do - if Radiant.config['reader.show_honorifics?'] %p = f.label :honorific, nil, :class => 'optional' %br = f.text_field :honorific, :class => 'standard' %span.formnote= t('reader_extension.form_notes.account.honorific') - form.edit_name do = render :partial => 'edit_names', :locals => {:f => f} - form.edit_dob do - if Radiant.config['reader.show_dobs?'] %p = f.label :dob, nil, :class => 'optional' %br %span.dateparts = f.date_select :dob, :order => [:day, :month, :year], :start_year => Time.now.year - 100, :end_year => Time.now.year, :include_blank => true = f.check_box :dob_secret = f.label :dob_secret %br %span.formnote= t('reader_extension.form_notes.account.dob') - form.edit_phone do %p = f.label :phone, nil, :class => 'optional' %br = f.text_field :phone, :class => 'standard' %span.formnote= t('reader_extension.form_notes.account.phone') - form.edit_mobile do %p = f.label :mobile, nil, :class => 'optional' %br = f.text_field :mobile, :class => 'standard' %span.formnote= t('reader_extension.form_notes.account.mobile') - form.edit_address do %p = f.label :post_country, nil, :class => 'optional' = f.select :post_country, country_options_for_select(reader.post_country) %br %span.formnote= t('reader_extension.form_notes.account.post_country') - if Radiant.config['reader.postal.use_organisation?'] %p = f.label :post_organisation, nil, :class => 'optional' = f.text_field :post_organisation, :class => 'standard' %br %span.formnote= t('reader_extension.form_notes.account.post_organisation') %p = f.label :post_line1, t('activerecord.attributes.reader.postal_address'), :class => 'optional' %br = f.text_field :post_line1, :class => 'standard' %br = f.text_field :post_line2, :class => 'standard' %br = f.label :post_city, nil, :class => 'optional' = f.text_field :post_city, :class => 'standard' %br = f.label :post_province, nil, :class => 'optional' = f.text_field :post_province, :class => 'standard' %br = f.label :postcode, nil, :class => 'optional' = f.text_field :postcode, :class => 'standard' - form.edit_description do - if Radiant.config['reader.show_descriptions?'] %p = f.label :description, nil, :class => 'optional' %br = f.text_area :description, :class => Radiant.config['forum.toolbar?'] ? 'rte' : 'standard' %span.formnote= t('reader_extension.form_notes.account.description') - form.edit_shareability do %p = f.check_box :unshareable, :class => 'reversed' = f.label :unshareable %br %span.formnote= t('reader_extension.form_notes.account.unshareable') - render_region :form_bottom, :locals => {:f => f} do |form_bottom| - form_bottom.edit_buttons do %p = submit_tag reader.new_record? ? t('reader_extension.create_account') : t("reader_extension.update_account") or = link_to 'cancel', request.referer