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-0.11.2 spec/test_app/app/views/articles/_form.html.erb
adeia-0.11.0 spec/test_app/app/views/articles/_form.html.erb
adeia-0.10.5 spec/test_app/app/views/articles/_form.html.erb
adeia-0.10.4 spec/test_app/app/views/articles/_form.html.erb
rails_sandbox_server-0.0.2 test/dummy/app/views/articles/_form.html.erb
adeia-0.10.3 spec/test_app/app/views/articles/_form.html.erb
adeia-0.10.2 spec/test_app/app/views/articles/_form.html.erb
adeia-0.10.1 spec/test_app/app/views/articles/_form.html.erb
adeia-0.10.0 spec/test_app/app/views/articles/_form.html.erb
adeia-0.9.2 spec/test_app/app/views/articles/_form.html.erb
adeia-0.9.1 spec/test_app/app/views/articles/_form.html.erb
adeia-0.9.0 spec/test_app/app/views/articles/_form.html.erb
adeia-0.8.6 spec/test_app/app/views/articles/_form.html.erb
adeia-0.8.5 spec/test_app/app/views/articles/_form.html.erb
adeia-0.8.4 spec/test_app/app/views/articles/_form.html.erb
adeia-0.8.3 spec/test_app/app/views/articles/_form.html.erb
adeia-0.8.2 spec/test_app/app/views/articles/_form.html.erb
adeia-0.8.1 spec/test_app/app/views/articles/_form.html.erb
adeia-0.8.0 spec/test_app/app/views/articles/_form.html.erb
adeia-0.7.1 spec/test_app/app/views/articles/_form.html.erb