Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%= form_for(@result, :html => {:multipart => true}) do |f| %>
- <% if @result.errors.any? %>
- <div id="error_explanation">
- <h2><%= pluralize(@result.errors.count, "error") %> prohibited this result from being saved:</h2>
- <ul>
- <% @result.errors.full_messages.each do |msg| %>
- <li><%= msg %></li>
- <% end %>
- </ul>
- </div>
- <% end %>
- Uploaded Result
- <%= f.file_field :result %>
- Event Title
- <%= f.text_field :title %>
- <div class="actions">
- <%= f.submit %>
- </div>
- <% end %>
Add Comment
Please, Sign In to add comment