Sha256: f5ae16a1b3cf51a117b71e49fae0ec3a993b0912268606de8bf6b2272386b8c5

Contents?: true

Size: 673 Bytes

Versions: 1

Compression:

Stored size: 673 Bytes

Contents

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

      <ul>
      <% @standalone_resource.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 :description %><br />
    <%= f.text_field :description %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alberich-0.2.0 test/dummy/app/views/standalone_resources/_form.html.erb