Sha256: 6dfc5f3c236086ca3f8a06d32d2bfd2c2d876b881f871380eda0b7009eaab3b7

Contents?: true

Size: 419 Bytes

Versions: 24

Compression:

Stored size: 419 Bytes

Contents

<%= form_with(model: user) do |form| %>
  <% if user.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(user.errors.count, "error") %> prohibited this user from being saved:</h2>

      <ul>
        <% user.errors.each do |error| %>
          <li><%= error.full_message %></li>
        <% end %>
      </ul>
    </div>
  <% end %>

  <div class="actions">
    <%= form.submit %>
  </div>
<% end %>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
eitil-2.0.8 spec/dummy_app/app/views/users/_form.html.erb
eitil-2.0.7 spec/dummy_app/app/views/users/_form.html.erb
eitil-2.0.6 spec/dummy_app/app/views/users/_form.html.erb
eitil-2.0.5 spec/dummy_app/app/views/users/_form.html.erb
eitil-2.0.4 spec/dummy_app/app/views/users/_form.html.erb
eitil-2.0.3 spec/dummy_app/app/views/users/_form.html.erb
eitil-2.0.2 spec/dummy_app/app/views/users/_form.html.erb
eitil-2.0.1 spec/dummy_app/app/views/users/_form.html.erb
eitil-2.0.0 spec/dummy_app/app/views/users/_form.html.erb
eitil-1.4.1 spec/dummy_app/app/views/users/_form.html.erb
eitil-1.4.0 spec/dummy_app/app/views/users/_form.html.erb
eitil-1.3.12 spec/dummy_app/app/views/users/_form.html.erb
eitil-1.3.11 spec/dummy_app/app/views/users/_form.html.erb
eitil-1.3.10 spec/dummy_app/app/views/users/_form.html.erb
eitil-1.3.9 spec/dummy_app/app/views/users/_form.html.erb
eitil-1.3.8 spec/dummy_app/app/views/users/_form.html.erb
eitil-1.3.7 spec/dummy_app/app/views/users/_form.html.erb
eitil-1.3.6 spec/dummy_app/app/views/users/_form.html.erb
eitil-1.3.5 spec/dummy_app/app/views/users/_form.html.erb
eitil-1.3.4 spec/dummy_app/app/views/users/_form.html.erb