Sha256: 312a02bf6c02b787dbd39d6fde6bbc8dfc5b48171d0798f667af2cb988849857

Contents?: true

Size: 504 Bytes

Versions: 3

Compression:

Stored size: 504 Bytes

Contents

<%= erb :'user/template/header' %>

<% if defined? @error %>
  <p class="error"><%= @error %></p>
<% elsif defined? @success %>
  <p class="success"><%= @success %></p>
<% else %>
  <form action="<%= @current_url %>" method="post">
    <input type="text"     placeholder="username" name="username"><br>
    <input type="password" placeholder="password" name="password"><br>
    <%= csrf_tag %>
    <input type="submit" value="Login">
  </form>
<% end %>

<%= erb :'user/template/footer' %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gennaro-0.3.1.1 templates/authentication/views/user/login.erb
gennaro-0.3.1 templates/authentication/views/user/login.erb
gennaro-0.3 templates/authentication/views/user/login.erb