Sha256: 19637298074e014efad0d9739ac55cf4beec444713666053e104fff8dbe353b9

Contents?: true

Size: 586 Bytes

Versions: 25

Compression:

Stored size: 586 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="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

25 entries across 25 versions & 5 rubygems

Version Path
jquery-modal-rails-0.0.4 demoapp/app/views/users/_form.html.erb
magic_grid-0.12.6 test/dummy/app/views/users/_form.html.erb
magic_grid-0.12.5 test/dummy/app/views/users/_form.html.erb
magic_grid-0.12.4 test/dummy/app/views/users/_form.html.erb
rollout_admin-0.0.6 test/dummy/app/views/users/_form.html.erb
routing_data-0.2.1 dummy/app/views/users/_form.html.erb
magic_grid-0.12.3 test/dummy/app/views/users/_form.html.erb
magic_grid-0.12.2 test/dummy/app/views/users/_form.html.erb
magic_grid-0.12.1 test/dummy/app/views/users/_form.html.erb
jquery-modal-rails-0.0.3 demoapp/app/views/users/_form.html.erb
jquery-modal-rails-0.0.2 demoapp/app/views/users/_form.html.erb
magic_grid-0.12.0 test/dummy/app/views/users/_form.html.erb
magic_grid-0.11.1 test/dummy/app/views/users/_form.html.erb
magic_grid-0.11.0 test/dummy/app/views/users/_form.html.erb
magic_grid-0.10.4 test/dummy/app/views/users/_form.html.erb
magic_grid-0.10.3 test/dummy/app/views/users/_form.html.erb
magic_grid-0.10.2 test/dummy/app/views/users/_form.html.erb
auth_eng-0.0.2 app/views/auth_eng/users/_form.html.erb
auth_eng-0.0.1 app/views/auth_eng/users/_form.html.erb
jquery-modal-rails-0.0.1 demoapp/app/views/users/_form.html.erb