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">&nbsp;</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

Version Path
knitkit-2.1.15 app/widgets/reset_password/views/index.html.erb
knitkit-2.1.14 app/widgets/reset_password/views/index.html.erb
knitkit-2.1.13 app/widgets/reset_password/views/index.html.erb
knitkit-2.1.12 app/widgets/reset_password/views/index.html.erb
knitkit-2.1.11 app/widgets/reset_password/views/index.html.erb
knitkit-2.1.10 app/widgets/reset_password/views/index.html.erb
knitkit-2.1.9 app/widgets/reset_password/views/index.html.erb
knitkit-2.1.8 app/widgets/reset_password/views/index.html.erb
knitkit-2.1.7 app/widgets/reset_password/views/index.html.erb
knitkit-2.1.6 app/widgets/reset_password/views/index.html.erb
knitkit-2.1.5 app/widgets/reset_password/views/index.html.erb