Sha256: 010c8dbe2045b9b9595a92a1eb53b63640414b18d732a58407d5a48008d2e157
Contents?: true
Size: 1.85 KB
Versions: 2
Compression:
Stored size: 1.85 KB
Contents
<%= form_remote_tag( :update => divId, :url => { :controller => 'account', :action => 'login' }, :complete => visual_effect(:BlindDown, divId)) %> <div class="login"> <span> <input type="hidden" id="divId" name="divId" value="<%= divId %>"/> <label for="person_name">Pseudo:</label> <%= text_field "person", "name", :size => 10 %> <%= link_to_function('+', "Element.toggle(this);"+visual_effect(:Grow, 'user_password_'+divId.to_s), :class => "subscribeLink") %> </span> <span style="display: none;" id="user_password_<%= divId %>"> <label for="user_password">Password:</label> <%= password_field "user", "password", :size => 10 %> <%= link_to_function('email? >', "Element.toggle(this);"+visual_effect(:Grow, 'person_email_'+divId.to_s), :class => "subscribeLink") %> </span> <span style="display: none;" id="person_email_<%= divId %>"> <br/> <!-- <%= password_field "user", "password_confirmation", :size => 10 %> --> <label for="person_email">Email (or check key):</label> <%= text_field "person", "email", :size => 20 %> </span> <%= submit_tag 'Ok' %> <%= render :partial => '/help', :locals => { :divId => 'login'+divId.to_s, :content => ' <p>You can propose an element with</p> <ul> <li>no pseudo</li> <li>an unprotected pseudo</li> <li>a password protected pseudo (click on "+")</li> <li>a password protected and email verified pseudo</li> </ul> <p> The last method is the only secure way to protect a nickname on <strong>this</strong> server. </p> <p> If a nick is not protected and verified, anybody else can protect it for themselves if they at least supply a password <em>and</em> an email. </p> <p> A login must contain [3..40] characters, a password [5..40]. </p> ' } %> </div> <%= end_form_tag %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
parlement-0.4 | app/views/account/_login.rhtml |
parlement-0.5 | app/views/account/_login.rhtml |