Sha256: 9e137571abfa9cb0328ca4cfd00caf86d5e8afdcb0d4b7be5ff45c5c822c55bb
Contents?: true
Size: 530 Bytes
Versions: 5
Compression:
Stored size: 530 Bytes
Contents
<%= form_with(model: room, local: true) do |form| %> <% if room.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(room.errors.count, "error") %> prohibited this room from being saved:</h2> <ul> <% room.errors.full_messages.each do |message| %> <li><%= message %></li> <% end %> </ul> </div> <% end %> <div class="field"> <%= form.label :name %> <%= form.text_field :name %> </div> <div class="actions"> <%= form.submit %> </div> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems