mirror of
https://github.com/amiaopensource/ffmprovisr.git
synced 2024-12-28 12:38:22 +01:00
18 lines
408 B
Plaintext
18 lines
408 B
Plaintext
<%= form_for(@form) do |f| %>
|
|
<% if @form.errors.any? %>
|
|
<div id="error_explanation">
|
|
<h2><%= pluralize(@form.errors.count, "error") %> prohibited this form from being saved:</h2>
|
|
|
|
<ul>
|
|
<% @form.errors.full_messages.each do |message| %>
|
|
<li><%= message %></li>
|
|
<% end %>
|
|
</ul>
|
|
</div>
|
|
<% end %>
|
|
|
|
<div class="actions">
|
|
<%= f.submit %>
|
|
</div>
|
|
<% end %>
|