app/views/accounts/_profile_form.html.haml in radiant-reader-extension-3.0.0 vs app/views/accounts/_profile_form.html.haml in radiant-reader-extension-3.0.1

- old
+ new

@@ -2,11 +2,11 @@ - check_password ||= false - form_for reader, :html => {:class => 'friendly'} do |f| %input{:type => :hidden, :name => :authentication_type, :value => :user} - - if 1 || Radiant::Config['reader.use_honorifics?'] + - if Radiant.config['reader.use_honorifics?'] %p = f.label :honorific, nil, :class => 'optional' %br = f.text_field :honorific, :class => 'standard' %span.formnote= t('reader_extension.form_notes.account.honorific') @@ -27,11 +27,11 @@ = 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?'] + - 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') @@ -53,10 +53,10 @@ = f.text_field :postcode, :class => 'standard' %p = f.label :description, nil, :class => 'optional' %br - = f.text_area :description, :class => Radiant::Config['forum.toolbar?'] ? 'rte' : 'standard' + = f.text_area :description, :class => Radiant.config['forum.toolbar?'] ? 'rte' : 'standard' %span.formnote= t('reader_extension.form_notes.account.description') %p = f.check_box :unshareable, :class => 'reversed' = f.label :unshareable