Sha256: b9bcf18ffc2f8f43fac0376bb8b8a9bad1b0640f3c7c68a806b6b7ee4400d124

Contents?: true

Size: 632 Bytes

Versions: 3

Compression:

Stored size: 632 Bytes

Contents

<%  @title = 'Lost password' %>
<%= erb :'template/header' %>

<% if defined? @error %>
  <div class="alert alert-danger"><%= @error %></div>
<% elsif defined? @success %>
  <div class="alert alert-success"><%= @success %></div>
<% else %>
  <form action="<%= @current_url %>" method="post" role="form">
    <h2><%= @title %></h2>

    <input type="text" placeholder="username" name="username"  class="form-control" required autofocus><br>
    
    <%= csrf_tag %>
    <button class="btn btn-lg btn-primary btn-block" type="submit" name="request">Request</button>
  </form>
<% end %>

<%= erb :'template/footer' %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gennaro-0.3.6.5 templates/authentication/views/user/lost_password.erb
gennaro-0.3.6.4 templates/authentication/views/user/lost_password.erb
gennaro-0.3.6.3 templates/authentication/views/user/lost_password.erb