Sha256: eb556057bcb2a0a3ce04beabf97eefa5c8557c7bf6cf67c019c387da44109018

Contents?: true

Size: 419 Bytes

Versions: 2

Compression:

Stored size: 419 Bytes

Contents

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

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

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

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
lesli_calendar-0.2.1 app/views/lesli_calendar/calendars/_form.html.erb
lesli_driver-0.2.0 app/views/lesli_driver/calendars/_form.html.erb