Sha256: a334dfa55eaa0c311ab4384fbeea60cb76a61db3b57aad27477395639ad8ab76

Contents?: true

Size: 782 Bytes

Versions: 5

Compression:

Stored size: 782 Bytes

Contents

<%= form_with(model: comment, local: true) do |form| %>
  <% if comment.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(comment.errors.count, "error") %> prohibited this comment from being saved:</h2>

      <ul>
        <% comment.errors.full_messages.each do |message| %>
          <li><%= message %></li>
        <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= form.label :banal_brainstorm %>
    <%= form.text_field :banal_brainstorm %>
  </div>

  <div class="field">
    <%= form.label :comment_text %>
    <%= form.text_area :comment_text %>
  </div>

  <div class="field">
    <%= form.label :parent_id %>
    <%= form.number_field :parent_id %>
  </div>

  <div class="actions">
    <%= form.submit %>
  </div>
<% end %>

Version data entries

5 entries across 5 versions & 4 rubygems

Version Path
ezii-browser-1.0.0 server/redux-os/app/views/comments/_form.html.erb
mega-os-1.0.0 app/views/comments/_form.html.erb
jester-data-8.0.0 app/views/comments/_form.html.erb
ezii-os-5.2.1 app/views/comments/_form.html.erb
ezii-os-2.0.1 app/views/comments/_form.html.erb