Sha256: 0656265b7f1563864dc71bdf7def2d57cd0847d2f6be938c674d7bdea73944c8

Contents?: true

Size: 895 Bytes

Versions: 22

Compression:

Stored size: 895 Bytes

Contents

%p#display_password{:style=> (@reader.new_record? or !@reader.valid?) ? "display: none" : nil}
  %label= t('password')
  %span.value
    •••••
    %a.action{:href=>"#", :onclick=>" $('display_password').hide(); $('change_password').show()"}= t('change')
.set#change_password{:style=> (!@reader.new_record? && @reader.valid?) ? "display: none" : nil}
  %p
    = f.label :password, t('new_password')
    = f.password_field "password", :class => "textbox big", :value => "", :size => 15, :maxlength => 40
  %p
    = f.label :password_confirmation, t('password_confirmation')
    = f.password_field "password_confirmation", :class => "textbox big", :value => "", :size => 15, :maxlength => 40
    - unless @reader.new_record?
      %span
        = t('or')
        %a{:href=>"#", :onclick=>" $('display_password').show(); $('change_password').hide()"}= t('cancel')

        

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
radiant-reader-extension-1.3.13 app/views/admin/readers/_password_fields.html.haml
radiant-reader-extension-1.3.12 app/views/admin/readers/_password_fields.html.haml
radiant-reader-extension-1.3.11 app/views/admin/readers/_password_fields.html.haml
radiant-reader-extension-1.3.10 app/views/admin/readers/_password_fields.html.haml
radiant-reader-extension-1.3.9 app/views/admin/readers/_password_fields.html.haml
radiant-reader-extension-1.3.8 app/views/admin/readers/_password_fields.html.haml
radiant-reader-extension-1.3.7 app/views/admin/readers/_password_fields.html.haml
radiant-reader-extension-1.3.6 app/views/admin/readers/_password_fields.html.haml
radiant-reader-extension-1.3.4 app/views/admin/readers/_password_fields.html.haml
radiant-reader-extension-1.3.3 app/views/admin/readers/_password_fields.html.haml
radiant-reader-extension-1.3.1 app/views/admin/readers/_password_fields.html.haml
radiant-reader-extension-1.3.0 app/views/admin/readers/_password_fields.html.haml
radiant-reader-extension-1.2.4 app/views/admin/readers/_password_fields.html.haml
radiant-reader-extension-1.2.3 app/views/admin/readers/_password_fields.html.haml
radiant-reader-extension-1.2.2 app/views/admin/readers/_password_fields.html.haml
radiant-reader-extension-1.2.1 app/views/admin/readers/_password_fields.html.haml
radiant-reader-extension-1.2.0 app/views/admin/readers/_password_fields.html.haml
radiant-reader-extension-1.1.1 app/views/admin/readers/_password_fields.html.haml
radiant-reader-extension-1.1.0 app/views/admin/readers/_password_fields.html.haml
radiant-reader-extension-1.0.1 app/views/admin/readers/_password_fields.html.haml