Sha256: 1a99e3dfed1252c0752aa7fb4378902083960d5f0e432cda44f207005735bada

Contents?: true

Size: 610 Bytes

Versions: 55

Compression:

Stored size: 610 Bytes

Contents

<%= form_for(@article) do |f| %>
  <% if @article.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@article.errors.count, "error") %> prohibited this article from being saved:</h2>

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

  <div class="field">
    <%= f.label :title %><br>
    <%= f.text_field :title %>
  </div>
  <div class="field">
    <%= f.label :content %><br>
    <%= f.text_area :content %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

55 entries across 55 versions & 2 rubygems

Version Path
adeia-1.0.0 spec/test_app/app/views/articles/_form.html.erb
adeia-0.15.4 spec/test_app/app/views/articles/_form.html.erb
adeia-0.15.3 spec/test_app/app/views/articles/_form.html.erb
adeia-0.15.2 spec/test_app/app/views/articles/_form.html.erb
rails_sandbox_server-0.0.3 test/dummy/app/views/articles/_form.html.erb
adeia-0.15.1 spec/test_app/app/views/articles/_form.html.erb
adeia-0.15.0 spec/test_app/app/views/articles/_form.html.erb
adeia-0.14.0 spec/test_app/app/views/articles/_form.html.erb
adeia-0.13.1 spec/test_app/app/views/articles/_form.html.erb
adeia-0.13.0 spec/test_app/app/views/articles/_form.html.erb
adeia-0.12.0 spec/test_app/app/views/articles/_form.html.erb
adeia-0.11.11 spec/test_app/app/views/articles/_form.html.erb
adeia-0.11.10 spec/test_app/app/views/articles/_form.html.erb
adeia-0.11.9 spec/test_app/app/views/articles/_form.html.erb
adeia-0.11.8 spec/test_app/app/views/articles/_form.html.erb
adeia-0.11.7 spec/test_app/app/views/articles/_form.html.erb
adeia-0.11.6 spec/test_app/app/views/articles/_form.html.erb
adeia-0.11.5 spec/test_app/app/views/articles/_form.html.erb
adeia-0.11.4 spec/test_app/app/views/articles/_form.html.erb
adeia-0.11.3 spec/test_app/app/views/articles/_form.html.erb