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

Version Path
amazon-chime-sdk-rails-2.0.1 spec/rails_app/app/views/rooms/_form.html.erb
amazon-chime-sdk-rails-2.0.0 spec/rails_app/app/views/rooms/_form.html.erb
amazon-chime-sdk-rails-1.1.1 spec/rails_app/app/views/rooms/_form.html.erb
amazon-chime-sdk-rails-1.1.0 spec/rails_app/app/views/rooms/_form.html.erb
amazon-chime-sdk-rails-1.0.0 spec/rails_app/app/views/rooms/_form.html.erb