Sha256: 81f5f5c217d3c2035cb1bcf7c24a381a050e7c82101526a753762ae0bccf6871

Contents?: true

Size: 414 Bytes

Versions: 16

Compression:

Stored size: 414 Bytes

Contents

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

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

  <div>
    <%= form.submit %>
  </div>
<% end %>

Version data entries

16 entries across 16 versions & 7 rubygems

Version Path
lesli_admin-0.6.1 app/views/lesli_admin/accounts/_form.html.erb
lesli_security-0.5.0 app/views/lesli_security/accounts/_form.html.erb
lesli_security-0.4.0 app/views/lesli_security/accounts/_form.html.erb
lesli_guard-0.3.0 app/views/lesli_guard/accounts/_form.html.erb
lesli_letter-0.1.0 app/views/lesli_letter/accounts/_form.html.erb
lesli_guard-0.2.0 app/views/lesli_guard/accounts/_form.html.erb
lesli_admin-0.5.0 app/views/lesli_admin/accounts/_form.html.erb
lesli_audit-0.5.0 app/views/lesli_audit/accounts/_form.html.erb
lesli_admin-0.4.0 app/views/lesli_admin/accounts/_form.html.erb
lesli_help-0.1.0 app/views/lesli_help/accounts/_form.html.erb
lesli_audit-0.4.0 app/views/lesli_audit/accounts/_form.html.erb
lesli_admin-0.3.0 app/views/lesli_admin/accounts/_form.html.erb
lesli_audit-0.3.0 app/views/lesli_audit/accounts/_form.html.erb
lesli_admin-0.2.0 app/views/lesli_admin/accounts/_form.html.erb
lesli_bell-0.1.0 app/views/lesli_bell/accounts/_form.html.erb
lesli_admin-0.1.0 app/views/lesli_admin/accounts/_form.html.erb