Sha256: 3d097c0210cf09617f4134b8d9f44e097fca5bf13076f4f0e2cfb38f201a4bf0
Contents?: true
Size: 1.79 KB
Versions: 14
Compression:
Stored size: 1.79 KB
Contents
- @reader_session ||= ReaderSession.new - no_title ||= false - purpose ||= false .login_form - cssclass = "compact friendly" - cssclass << " inline" if @inline - form_for @reader_session, :url => reader_session_path, :html => {:class => cssclass} do |f| %input{:type => :hidden, :name => :authentication_type, :value => :session} - unless no_title %h2 - if purpose = purpose + ',' = t('reader_extension.please') - else = t('reader_extension.please').titlecase = t('reader_extension.log_in') - if Radiant::Config['reader.allow_registration?'] = t('or') = link_to t('reader_extension.register'), new_reader_url - if @error %p.haserror = t('reader_extension.login_unknown') %br = link_to t('reader_extension.forgotten_password'), new_password_reset_url %p{ :class => @reader_session.errors.on(:email) ? 'haserror' : '' } %label{:for => "reader_session_email"} = t('reader_extension.nickname_or_email') %br = f.text_field :email, :class => 'login' %p{ :class => @reader_session.errors.on(:password) ? 'haserror' : '' } %label{:for => "reader_session_password"} = t('reader_extension.password').titlecase %br = f.password_field :password, :class => 'login' %p.buttons = f.submit ' Log in ' = f.check_box :remember_me %label.paranthetical{:for => "reader_session_remember_me"} = t('reader_extension.remember_me') %ul - if Radiant::Config['reader.allow_registration?'] %li = link_to "registration".titlecase, new_reader_url = t('reader_extension.is_free_and_quick') %li = link_to t("reader_extension.forgotten_password"), new_password_reset_url
Version data entries
14 entries across 14 versions & 1 rubygems