mirror of
https://github.com/amiaopensource/ffmprovisr.git
synced 2024-11-07 22:17:23 +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 %>
|