Sha256: 096c6fdba196b27335934d97ff015f96f900f8f638595a5b69417661abedbaae
Contents?: true
Size: 404 Bytes
Versions: 3
Compression:
Stored size: 404 Bytes
Contents
<%= form_with(model: event) do |form| %> <% if event.errors.any? %> <div style="color: red"> <h2><%= pluralize(event.errors.count, "error") %> prohibited this event from being saved:</h2> <ul> <% event.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 & 2 rubygems