Sha256: f5ff8ffa0bdb15ccb7fe3e2037aa909fd07d72cc904e889a2ccf0131f72ad343

Contents?: true

Size: 1.08 KB

Versions: 2

Compression:

Stored size: 1.08 KB

Contents

- content_for :introduction do
  %p
    = t("reader_extension.hello").titlecase
    = link_to(@reader.name, reader_url(@reader)) + '.'
    - if Radiant.config['reader.public?']
      = t('reader_extension.profile_intro_public')
    - elsif Radiant.config['reader.confine_to_groups?']
      = t('reader_extension.profile_intro_grouped')
    - else
      = t('reader_extension.profile_intro_private')

- content_for :form do
  %pre
    = @reader.errors.full_messages
  = render :partial => 'profile_form', :locals => {:reader => @reader}
  %p
    = standard_gravatar_for(@reader, 'http://gravatar.com/site/login')
    = link_to t('reader_extension.change_gravatar'), "http://gravatar.com/site/login/"
    
- content_for :breadcrumbs do 
  = link_to t('reader_extension.home').titlecase, '/'
  >
  = link_to t('reader_extension.readers').titlecase, readers_url
  >
  = link_to t('reader_extension.you').titlecase, profile_url
  >
  = t('reader_extension.edit_profile')

- content_for :title do 
  = t('reader_extension.edit_profile')

= render :partial => 'shared/standard_reader_parts'

= yield :form

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
radiant-reader-extension-3.0.0.rc4 app/views/accounts/edit_profile.html.haml
radiant-reader-extension-3.0.0.rc3 app/views/accounts/edit_profile.html.haml