Sha256: f4045e3eb36f0853b4c718936b58ce10754bac0235a7a9b55e640b6077e6a3a5
Contents?: true
Size: 702 Bytes
Versions: 5
Compression:
Stored size: 702 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 :email %><br> <%= f.text_field :email %> </div> <div class="field"> <%= f.label :password_digest %><br> <%= f.text_field :password_digest %> </div> <div class="actions"> <%= f.submit %> </div> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems