Sha256: 3efcc9f2a45c243eff85737d847e3d6f8222989f8aecb1b73e7a32c09f0c9d03

Contents?: true

Size: 839 Bytes

Versions: 1

Compression:

Stored size: 839 Bytes

Contents

<%= form_for @user_session, :url => admin_login_path do |f| %>
  
  <%= error_messages_for(f.object) %>

  <div class="login-form-row">
    <% if Spud::Core.config.use_email_as_login %>
      <%= f.label :email %>
      <%= f.text_field :email, :placeholder => 'Email', :autofocus => 'autofocus', :autocomplete => 'username' %>
    <% else %>
      <%= f.label :login %>
      <%= f.text_field :login, :placeholder => 'Username', :autofocus => 'autofocus', :autocomplete => 'username' %>
    <% end %>
  </div>
  <div class="login-form-row">
  	<%= f.label :password %>
  	<%= f.password_field :password, :placeholder => 'Password', :autocomplete => 'current-password' %>
  </div>
  <div class="login-form-row">
  	<%= f.submit "Login", :class => 'btn' %> or <%=link_to "Forgot Password?", admin_password_resets_path %>
  </div>

<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tb_core-1.2.8 app/views/admin/user_sessions/new.html.erb