Sha256: 143eb8e958c8a2afb1209f0ec8d0db51b1c0e0b680ec38b394ac9d0ba3de0f4a
Contents?: true
Size: 875 Bytes
Versions: 3
Compression:
Stored size: 875 Bytes
Contents
<% @title = 'Password recovery' %> <%= 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> <input type="password" placeholder="code" name="passcode" class="form-control" required ><br> <input type="password" placeholder="new password" name="password" class="form-control" required ><br> <%= csrf_tag %> <button class="btn btn-lg btn-primary btn-block" type="submit" name="recover">Recover</button> </form> <% end %> <%= erb :'template/footer' %>
Version data entries
3 entries across 3 versions & 1 rubygems