Sha256: 5326086c55d09fa152b98ae6b6a7d19d8f38b4c5524b1569e16370b6235ed11f

Contents?: true

Size: 1.17 KB

Versions: 3

Compression:

Stored size: 1.17 KB

Contents

<div class="login-form">

  <div class="login-tab password">
    <%= form_tag session_path do %>
      <%= hidden_field_tag :success_url, success_url %>
      <%= hidden_field_tag :login_url,   login_url %>
      <p>
        <label>Email address</label>
        <%= text_field_tag :username, '' %>
      </p>
      <p>
        <label>Password</label>
        <%= password_field_tag :password, '' %>
      </p>
      <p>
        <button type="submit">Sign in</button>
      </p>
      <ul>
        <li>
          <%= link_to "<b>Help!</b> I forgot my password!".html_safe, login_url, class: 'show-password-reset' %>
        </li>
      </ul>
    <% end %>
  </div>

  <div class="login-tab password-reset">
    <%= form_tag admin_password_resets_path do %>
      <%= hidden_field_tag :login_url, login_url %>
      <h2>
        Forgot your password?
      </h2>
      <p>
        Don't worry, it happens.
        Enter your email address below,
        and we'll send you a link where you can reset your password.
      </p>
      <p>
        <%= text_field_tag :username, '' %>
      </p>
      <p>
        <button type="submit">
          Send
        </button>
      </p>
    <% end %>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pages_core-3.4.3 app/views/admin/users/_login_form.html.erb
pages_core-3.5.1 app/views/admin/users/_login_form.html.erb
pages_core-3.4.2 app/views/admin/users/_login_form.html.erb