Sha256: f357a23a8f713865257155822f84b2a6a12701589bdb9ea90631a4449afc3e83
Contents?: true
Size: 600 Bytes
Versions: 10
Compression:
Stored size: 600 Bytes
Contents
<%= form_for(@user) do |f| %> <% if @user.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2> <ul> <% @user.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
10 entries across 10 versions & 1 rubygems