Skip to content

Commit

Permalink
FIX: Added error message fields to default search form
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Fabien authored and chillu committed Jan 29, 2013
1 parent 47e037e commit 55f3ec1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/SearchForm.ss
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<form $FormAttributes>
<% if Message %>
<p id="{$FormName}_error" class="message $MessageType">$Message</p>
<% else %>
<p id="{$FormName}_error" class="message $MessageType" style="display: none"></p>
<% end_if %>
<fieldset>
<% loop Fields %>
$FieldHolder
Expand Down

0 comments on commit 55f3ec1

Please sign in to comment.