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