Sha256: 96fcc8c2c1345e5d24d1587a48d33c05daa1e30e002853ae5196c4b727e9b9e0

Contents?: true

Size: 354 Bytes

Versions: 3

Compression:

Stored size: 354 Bytes

Contents

<h2>New Egg</h2>

<% if 0 < @egg.errors.to_a.length %>
  <p class="flash error">
    <b>Errors:</b><br/>
    <%= @egg.errors.to_a.join("<br/>").html_safe %>
  </p>
<% end %>

<%= form_for @egg do |f| %>
  <p>
    <%= f.label :name %>
    <%= f.text_field :name %> 
  </p>
  <p>
    <%= anti_spam_form %>
  </p>
  <p>
    <%= f.submit %>
  </p>
<% end %> 

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
green_eggs_and_spam-0.2.1 test/dummy/app/views/eggs/new.html.erb
green_eggs_and_spam-0.2.0 test/dummy/app/views/eggs/new.html.erb
green_eggs_and_spam-0.1.1 test/dummy/app/views/eggs/new.html.erb