Sha256: ced741b411005e0989aed070c881aae6a29890b5453e427133b83207b5775f0c
Contents?: true
Size: 1.05 KB
Versions: 11
Compression:
Stored size: 1.05 KB
Contents
<div id="<%=widget_result_id%>"></div> <div> <%= form_tag '/users/reset_password', :remote => true, :id => 'reset_password_form' do %> <div class="form_settings"> <p> <span style="width:175px">Email Address</span> <%= text_field_tag "login"%> </p> <input type="hidden" name="login_url" value="<%=@login_url%>" /> <input type="hidden" name="domain" value="<%=@domain%>" /> <p style="padding-top: 15px"> <span style="width:175px"> </span> <%= submit_tag "Reset", :disable_with => "Please wait...", :class => "submit", :style => 'margin: 0 0 0 0px;'%> </p> </div> <% end %> </div> <script type="text/javascript"> jQuery('#reset_password_form').bind('ajaxComplete', function(e, xhr, settings){ var response = jQuery.parseJSON(xhr.responseText); if(response.success){ jQuery('#<%=widget_result_id%>').html('<div class="sexynotice">'+response.message+'</div>'); } else{ jQuery('#<%=widget_result_id%>').html('<div class="sexyerror">'+response.message+'</div>'); } }); </script>
Version data entries
11 entries across 11 versions & 1 rubygems