Sha256: 568f8c6d2188e17f3f8a8d96a2e241064de299eaceeb93f55dac5fa940f2a4e4

Contents?: true

Size: 410 Bytes

Versions: 14

Compression:

Stored size: 410 Bytes

Contents

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

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

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

Version data entries

14 entries across 14 versions & 4 rubygems

Version Path
app_status-2.0.1 spec/dummy/app/views/widgets/_form.html.erb
app_status-2.0.0 spec/dummy/app/views/widgets/_form.html.erb
app_status-2.0.0.pre.alpha.1 spec/dummy/app/views/widgets/_form.html.erb
rails-logstasher-0.1.4 test/dummy/app/views/widgets/_form.html.erb
rails-logstasher-0.1.3 test/dummy/app/views/widgets/_form.html.erb
rails-logstasher-0.1.2 test/dummy/app/views/widgets/_form.html.erb
yarder-0.1.0 test/dummy/app/views/widgets/_form.html.erb
rails-logstasher-0.1.1 test/dummy/app/views/widgets/_form.html.erb
rails-logstasher-0.1.0 test/dummy/app/views/widgets/_form.html.erb
yarder-0.0.2 test/dummy/app/views/widgets/_form.html.erb
app_status-1.2.0 spec/dummy/app/views/widgets/_form.html.erb
yarder-0.0.1 test/dummy/app/views/widgets/_form.html.erb
paginary-0.0.1.pre2 test/dummy/app/views/widgets/_form.html.erb
paginary-0.0.1.pre1 test/dummy/app/views/widgets/_form.html.erb