Sha256: 3a9e15d66ea8ef5015024e79c766fe99a7d5b7a38904bef506491c510915e168
Contents?: true
Size: 885 Bytes
Versions: 3
Compression:
Stored size: 885 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 %p = f.label :password_confirmation, t('password_confirmation') = f.password_field "password_confirmation", :class => "textbox big", :value => "", :size => 15, :maxlength => 40 - unless @user.new_record? %span = t('or') %a{:href=>"#", :onclick=>" $('display_password').show(); $('change_password').hide()"}= t('cancel')
Version data entries
3 entries across 3 versions & 2 rubygems