Sha256: e92389eb278722028de12c9ba1168e2972628eed2c9136ed76702f5adb52a7a7

Contents?: true

Size: 1.07 KB

Versions: 15

Compression:

Stored size: 1.07 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">Username or 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

15 entries across 15 versions & 1 rubygems

Version Path
knitkit-2.1.4 app/widgets/reset_password/views/index.html.erb
knitkit-2.1.3 app/widgets/reset_password/views/index.html.erb
knitkit-2.1.2 app/widgets/reset_password/views/index.html.erb
knitkit-2.1.1 app/widgets/reset_password/views/index.html.erb
knitkit-2.1.0 app/widgets/reset_password/views/index.html.erb
knitkit-2.0.11 app/widgets/reset_password/views/index.html.erb
knitkit-2.0.10 app/widgets/reset_password/views/index.html.erb
knitkit-2.0.9 app/widgets/reset_password/views/index.html.erb
knitkit-2.0.7 app/widgets/reset_password/views/index.html.erb
knitkit-2.0.6 app/widgets/reset_password/views/index.html.erb
knitkit-2.0.5 app/widgets/reset_password/views/index.html.erb
knitkit-2.0.4 app/widgets/reset_password/views/index.html.erb
knitkit-2.0.3 app/widgets/reset_password/views/index.html.erb
knitkit-2.0.2 app/widgets/reset_password/views/index.html.erb
knitkit-2.0.1 app/widgets/reset_password/views/index.html.erb