Sha256: 0ab61cdc1e8d577a248f2a52dd2911917c702ea0108c522550d8d6b4b5a07635

Contents?: true

Size: 690 Bytes

Versions: 4

Compression:

Stored size: 690 Bytes

Contents

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

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
valid_route-0.0.4 test/dummy/app/views/others/_form.html.erb
valid_route-0.0.3 test/dummy/app/views/others/_form.html.erb
valid_route-0.0.2 test/dummy/app/views/others/_form.html.erb
valid_route-0.0.1 test/dummy/app/views/others/_form.html.erb