Sha256: 3ad449447cc5e681798a280072950079f7e5b808b28d6f554a0a3c65e12fe612
Contents?: true
Size: 598 Bytes
Versions: 2
Compression:
Stored size: 598 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 |message| %> <li><%= message %></li> <% end %> </ul> </div> <% end %> <div class="field"> <%= f.label :name %> <%= f.text_field :name %> </div> <div class="field"> <%= f.label :password %> <%= f.text_field :password %> </div> <div class="actions"> <%= f.submit button_text %> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pythia-0.0.3-x86_64-linux | test/dummy/app/views/users/_form.html.erb |
pythia-0.0.2-x86_64-linux | test/dummy/app/views/users/_form.html.erb |