Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

FIX: Added error message fields to default search form

  • Loading branch information...
commit 55f3ec1371ce80c3905c9dcdf2ece615c4ca34b8 1 parent 47e037e
Jean-Fabien authored chillu committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 templates/SearchForm.ss
View
5 templates/SearchForm.ss
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.