Sha256: 851456664e9bbc27690acfbceb23bba78430c2b19954e20bba3b29bb675771c9

Contents?: true

Size: 424 Bytes

Versions: 13

Compression:

Stored size: 424 Bytes

Contents

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

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

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

Version data entries

13 entries across 13 versions & 5 rubygems

Version Path
lesli_calendar-0.2.2 app/views/lesli_calendar/dashboards/_form.html.erb
lesli_calendar-0.2.1 app/views/lesli_calendar/dashboards/_form.html.erb
lesli_audit-0.5.0 app/views/lesli_audit/dashboards/_form.html.erb
lesli_driver-0.2.0 app/views/lesli_driver/dashboards/_form.html.erb
lesli_audit-0.4.0 app/views/lesli_audit/dashboards/_form.html.erb
lesli_admin-0.3.0 app/views/lesli_admin/dashboards/_form.html.erb
lesli_audit-0.3.0 app/views/lesli_audit/dashboards/_form.html.erb
lesli_admin-0.2.0 app/views/lesli_admin/dashboards/_form.html.erb
lesli_driver-0.1.0 app/views/lesli_driver/dashboards/_form.html.erb
lesli_audit-0.2.0 app/views/lesli_audit/dashboards/_form.html.erb
lesli_bell-0.1.0 app/views/lesli_bell/dashboards/_form.html.erb
lesli_audit-0.1.0 app/views/lesli_audit/dashboards/_form.html.erb
lesli_admin-0.1.0 app/views/lesli_admin/dashboards/_form.html.erb