Sha256: 9db2a1a52be6a1a849bc8fa776f85184d3bbe03cbfc5e218e49e7ea73822fa55

Contents?: true

Size: 961 Bytes

Versions: 68

Compression:

Stored size: 961 Bytes

Contents

%p#display_password{:style=> (@user.new_record? or !@user.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=> (!@user.new_record? && @user.valid?) ? "display: none" : nil}
  %p
    = f.label :password, t('new_password')
    = f.password_field "password", :class => "textbox big", :value => "", :size => 15, :maxlength => 40, :autocomplete => 'off'
  %p
    = f.label :password_confirmation, t('password_confirmation')
    = f.password_field "password_confirmation", :class => "textbox big", :value => "", :size => 15, :maxlength => 40, :autocomplete => 'off'
    - unless @user.new_record?
      %span
        = t('or')
        %a{:href=>"#", :class=>"warning", :onclick=>" $('#display_password').show(); $('#change_password').hide()"}= t('cancel', class: 'alt')


Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
trusty-cms-3.8.4 app/views/admin/users/_password_fields.html.haml
trusty-cms-3.8.3 app/views/admin/users/_password_fields.html.haml
trusty-cms-3.8.2 app/views/admin/users/_password_fields.html.haml
trusty-cms-3.8.1 app/views/admin/users/_password_fields.html.haml
trusty-cms-3.8.0 app/views/admin/users/_password_fields.html.haml
trusty-cms-3.7.1 app/views/admin/users/_password_fields.html.haml
trusty-cms-3.7.0 app/views/admin/users/_password_fields.html.haml
trusty-cms-3.6.2 app/views/admin/users/_password_fields.html.haml
trusty-cms-3.6.1 app/views/admin/users/_password_fields.html.haml
trusty-cms-3.6.0 app/views/admin/users/_password_fields.html.haml
trusty-cms-3.5.5 app/views/admin/users/_password_fields.html.haml
trusty-cms-3.5.4 app/views/admin/users/_password_fields.html.haml
trusty-cms-3.5.3 app/views/admin/users/_password_fields.html.haml
trusty-cms-3.5.2 app/views/admin/users/_password_fields.html.haml
trusty-cms-3.5.1 app/views/admin/users/_password_fields.html.haml
trusty-cms-3.5.0 app/views/admin/users/_password_fields.html.haml
trusty-cms-3.4.0 app/views/admin/users/_password_fields.html.haml
trusty-cms-3.3.7 app/views/admin/users/_password_fields.html.haml
trusty-cms-3.3.6 app/views/admin/users/_password_fields.html.haml
trusty-cms-3.3.5 app/views/admin/users/_password_fields.html.haml