|
|
@ -3,15 +3,15 @@
|
|
|
|
<div id="share_new" style = "width: 500px; margin:0 auto; " >
|
|
|
|
<div id="share_new" style = "width: 500px; margin:0 auto; " >
|
|
|
|
<%= labelled_form_for(@forum) do |f| %>
|
|
|
|
<%= labelled_form_for(@forum) do |f| %>
|
|
|
|
<% if @forum.errors.any? %>
|
|
|
|
<% if @forum.errors.any? %>
|
|
|
|
<div id="error_explanation">
|
|
|
|
<!--<div id="error_explanation">
|
|
|
|
<h2><%= pluralize(@forum.errors.count, "error") %> prohibited this forum from being saved:</h2>
|
|
|
|
<h2><#%= pluralize(@forum.errors.count, "error") %> prohibited this forum from being saved:</h2>
|
|
|
|
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<ul>
|
|
|
|
<% @forum.errors.full_messages.each do |msg| %>
|
|
|
|
<#% @forum.errors.full_messages.each do |msg| %>
|
|
|
|
<li><%= msg %></li>
|
|
|
|
<li><#%= msg %></li>
|
|
|
|
<% end %>
|
|
|
|
<#% end %>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div> -->
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<div class="actions" style="margin:10px">
|
|
|
|
<div class="actions" style="margin:10px">
|
|
|
|
<div class="field">
|
|
|
|
<div class="field">
|
|
|
|