Sha256: 1101af66dc592e2567519067b508304a576f92e5f15944e18740a28945d58307

Contents?: true

Size: 414 Bytes

Versions: 3

Compression:

Stored size: 414 Bytes

Contents

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lesli_audit-0.5.0 app/views/lesli_audit/requests/_form.html.erb
lesli_audit-0.4.0 app/views/lesli_audit/requests/_form.html.erb
lesli_audit-0.3.0 app/views/lesli_audit/requests/_form.html.erb