Sha256: 20e3fbc209eb9e877e4ded38b913b489c09a520d07fab2df8a0aa3450220372b

Contents?: true

Size: 1.25 KB

Versions: 3

Compression:

Stored size: 1.25 KB

Contents

<h1>Beer Anmeldung</h1>

<table>
<tr>
  <td><!-- begin 1st column -->
<% if request.host == 'prost.herokuapp.com' || request.host == 'localhost' %>
<div>
  <b>Welcome.</b> beer.db.admin - A Free, Open Source Beer Rating Service
     in Ruby on Rails.

   <a href="https://github.com/geraldb/beer.db.admin">More &raquo;</a>
</div>
<% end %>
    <!-- end 1st column -->
  </td>
  
  <td><!-- begin 2nd column -->

  <!-- NB: namespaced model gets converted to sportsdb_models_user but only want user in params, thus, use as: option -->
<%= form_for @user, :as => :user, :url => session_path() do |f| %>

<div style='padding: 20px; background-color: #F1F1F1;'>
 <div>
    <%= f.label :email, 'Email' %><br/>
    <%= f.text_field :email, :data => { :autofocus => true } %>
 </div>
  
  <div style='padding-top: 15px;' >
    <%= f.submit 'Anmelden', :class => 'btn-primary' %>
  </div>
</div>

<% end %>
  
   <!-- end 2nd column -->
  </td>
</tr>
</table>




<div style='color: grey;'>
<hr>
<p style='font-size: 12px;'>Version Info</p>
<table>
<% Prop.order( 'created_at asc' ).all.each do |prop| %>
  <tr>
    <td style='font-size: 12px;'><%= "#{prop.key}/#{prop.value}" %></td>
    <td style='font-size: 12px;'><%= "(#{prop.created_at})" %></td>
  </tr>
<% end %>
</table>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
beerdb-admin-0.1.1 app/views/beer_db_admin/sessions/new.html.erb
beerdb-admin-0.1.0 app/views/beer_db_admin/sessions/new.html.erb
beerdb-admin-0.0.1 app/views/beer_db_admin/sessions/new.html.erb