Sha256: 035ce5ca8022bfb623c1ed929b24c99fff6fda6ffe89bfc126dfd4272539835d

Contents?: true

Size: 1.29 KB

Versions: 49

Compression:

Stored size: 1.29 KB

Contents

<% if flash[:alert] %>
  <div class="alert alert-info alert-dismissable">
    <button type="button" class="close" data-dismiss="alert" aria-hidden="true">
      ×
    </button>
    <%= flash[:alert] %>
  </div>
  <br>

  <a class="btn btn-lg btn-success btn-block" href="/welcome"><%= Wbase.site_name %></a>
<% else %>

  <div class="panel-heading">
    <h3 class="text-center"> Reset Password </h3>
  </div>

  <div class="panel-body">
    <p>
      Enter your <b>Email</b> and instructions will be sent to you!
    </p>
    <form method="post" action="/password_reset" method="POST" role="form" class="text-center">
      <input type="hidden" name="authenticity_token" value="<%= form_authenticity_token %>">

      <div class="form-group m-b-0">
        <div class="input-group">
          <input type="email" class="form-control" name="email" id="email" placeholder="first.last@gmail.com" required>
          <span class="input-group-btn">
            <button type="submit" class="btn btn-pink w-sm waves-effect waves-light">
              Reset
            </button>
          </span>
        </div>
      </div>
    </form>
    <hr>
    <div class="form-group clearfix">
      <a class="pull-left" href="/session/new">Log In</a>
      <a class="pull-right" href="/user/new">Sign Up</a>
    </div>
  </div>
<% end %>

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
wbase-0.0.13 app/views/wbase/password_resets/new.html.erb
wbase-0.0.12 app/views/wbase/password_resets/new.html.erb
wbase-0.0.11 app/views/wbase/password_resets/new.html.erb
wbase-0.0.10 app/views/wbase/password_resets/new.html.erb
wbase-0.0.9 app/views/wbase/password_resets/new.html.erb
wbase-0.0.8 app/views/wbase/password_resets/new.html.erb
wbase-0.0.7 app/views/wbase/password_resets/new.html.erb
wbase-0.0.6 app/views/wbase/password_resets/new.html.erb
wbase-0.0.5 app/views/wbase/password_resets/new.html.erb