Sha256: b63c8b02c9fc5c3a34ef7354cdd79dd749edcd23cdd2f9fc9f1c7934318fff6b

Contents?: true

Size: 419 Bytes

Versions: 5

Compression:

Stored size: 419 Bytes

Contents

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

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lesli_audit-0.5.0 app/views/lesli_audit/analytics/_form.html.erb
lesli_audit-0.4.0 app/views/lesli_audit/analytics/_form.html.erb
lesli_audit-0.3.0 app/views/lesli_audit/analytics/_form.html.erb
lesli_audit-0.2.0 app/views/lesli_audit/analytics/_form.html.erb
lesli_audit-0.1.0 app/views/lesli_audit/analytics/_form.html.erb