Commit 23c947eb authored by Anders Damsgaard's avatar Anders Damsgaard

set class for unordered list and its items

parent 05fbddc0
......@@ -115,12 +115,12 @@ if (count($missing_fields) > 0) {
// text before list of field names
if ($i == 0 && count($missing_fields) == 1) {
$error_msg .= '<p>The following value is missing: <ul>';
$error_msg .= '<p>The following value is missing: <ul class="collection">';
} elseif ($i == 0) {
$error_msg .= '<p>The following values are missing: <ul>';
$error_msg .= '<p>The following values are missing: <ul class="collection">';
}
$error_msg .= '<li>' . $missing_fields[$i] . '</li>';
$error_msg .= '<li class="collection-item">' . $missing_fields[$i] . '</li>';
}
$error_msg .= '</ul></p><p>Please <a href="javascript:history.back()">go' .
' back</a> and fill in the missing fields.</p></div></div></main>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment