app/views/outpost/shared/_form_block.html.erb in outpost-cms-0.0.3 vs app/views/outpost/shared/_form_block.html.erb in outpost-cms-0.0.4
- old
+ new
@@ -1,14 +1,14 @@
<% if title.present? %>
<% id = "form-block-#{title.parameterize}" %>
<% @sections[id] = title if @sections %>
<fieldset class="form-block" id="<%=id%>">
<legend><%= title %></legend>
-
+
<div class="hidden notification">
<p class="muted"><i>Click header to show fields</i></p>
</div>
-
+
<% else %>
<fieldset class="form-block">
<% end %>
<div class="fields">