Sha256: d34613e4400c1c0cebe3f5683c69b68065aae24b842c0a547b708c8046fbe3bd

Contents?: true

Size: 518 Bytes

Versions: 2

Compression:

Stored size: 518 Bytes

Contents

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

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

  <div>
    <%= form.label :name, style: "display: block" %>
    <%= form.text_field :name %>
  </div>

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
acts_as_graph_diagram-0.1.1 test/dummy/app/views/gods/_form.html.erb
acts_as_graph_diagram-0.1.0 test/dummy/app/views/gods/_form.html.erb