<% provide(:title, "Reset password") %>
<% provide(:page_name, "request-reset-password") %>
<% provide(:description, 'Reset your password') %>

<div class="landing-overlay">

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

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

      <%= form_tag '/reset_password', :method => "post" do -%>

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

          <div class="field email">
            <label for="email">Email Address:</label> 
            <%= text_field :jam_ruby_user, :email %> 
          </div>

          <br clear="all" />
          <div class="login-error-msg">
            <%=
               "#{@reset_password_error}#{@reset_password_email.nil? ? '' : ':'} #{@reset_password_email}" unless @reset_password_error.nil?
            %>
          </div>

        </fieldset>

        <br clear="all" />

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

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