Sha256: 443e64f64c3882d79dcb87aebd9bc9f59ea0ea3a8ca9c4a07ac29e4bce23f555
Contents?: true
Size: 964 Bytes
Versions: 1
Compression:
Stored size: 964 Bytes
Contents
<h1>New foo</h1> <%= validated_form_for(@foo) do |f| %> <% if @foo.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@foo.errors.count, "error") %> prohibited this foo from being saved:</h2> <ul> <% @foo.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> </div> <% end %> <div class="field"> <%= f.label :one %><br /> <%= f.validated_text_field :one %> </div> <div class="field"> <%= f.label :two %><br /> <%= f.validated_text_field :two %> </div> <div class="field"> <%= f.label :three %><br /> <%= f.validated_text_field :three %> </div> <div class="field"> <%= f.label :four %><br /> <%= f.validated_text_area :four %> </div> <div class="field"> <%= f.label :five %><br /> <%= f.validated_text_area :five %> </div> <div class="actions"> <%= f.submit %> </div> <% end %> <%= link_to 'Back', foos_path %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
judge-0.2.0 | test/dummy/app/views/foos/new.html.erb |