<% provide(:title, "Reset password") %> 

<div class="signin-overlay">

    <!-- ftue header -->
    <div class="content-head">
        <h1>reset your password</h1>
    </div>

    <!-- inner wrapper -->
    <div class="ftue-inner">

      <%= form_tag '/reset_password_complete', :method => "post" do -%>
        <%= hidden_field :jam_ruby_user, :email, :value => params[:email] %>
        <%= hidden_field :jam_ruby_user, :token, :value => params[:token] %>

        <fieldset name="text-input" class="<%= 'login-error' if @reset_password_error %>">

          <div class="field password">
            <label for="password">Password:</label> 
            <%= password_field :jam_ruby_user, :password %>
          </div>

          <br clear="all" />

          <div class="field password">
            <label for="password_confirmation">Password Confirmation:</label> 
            <%= password_field :jam_ruby_user, :password_confirmation %>
          </div>

          <br clear="all" />
          <div class="login-error-msg">
            <%=
              @password_error.nil? ? '' : @password_error
            %>
          </div>
        </fieldset>

        <br clear="all" />

        <fieldset name="actions">
          <input type="submit" value="SAVE PASSWORD" class="button-orange m0">
        </fieldset>

        <br clear="all" />
      <% end -%>
    </div>
</div>

