Sha256: de9829806df45ca8ec9f89600616d9791c5ec23e5b483d2c9c0378009aba8587
Contents?: true
Size: 644 Bytes
Versions: 5
Compression:
Stored size: 644 Bytes
Contents
<%= form_for(@user_session) do |f| %> <% if @user_session.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@user_session.errors.count, "error") %> prohibited this user_session from being saved:</h2> <ul> <% @user_session.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> </div> <% end %> <div class="field"> <%= f.label :username %><br /> <%= f.text_field :username %> </div> <div class="field"> <%= f.label :password %><br /> <%= f.password_field :password %> </div> <div class="actions"> <%= f.submit %> </div> <% end %>
Version data entries
5 entries across 5 versions & 2 rubygems