Merge pull request #2263 from creative-commoners/pulls/4.3/bootstrap-alerts

NEW Use Bootstrap alerts throughout the CMS
This commit is contained in:
Robbie Averill 2018-11-09 14:29:38 +02:00 committed by GitHub
commit 1f7406f691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -2,9 +2,9 @@
<div class="panel panel--padded panel--scrollable flexbox-area-grow cms-content-fields "> <div class="panel panel--padded panel--scrollable flexbox-area-grow cms-content-fields ">
<% if $Message %> <% if $Message %>
<p id="{$FormName}_error" class="message $MessageType">$Message</p> <p id="{$FormName}_error" class="alert $AlertType">$Message</p>
<% else %> <% else %>
<p id="{$FormName}_error" class="message $MessageType" style="display: none"></p> <p id="{$FormName}_error" class="alert $AlertType" style="display: none"></p>
<% end_if %> <% end_if %>
<fieldset> <fieldset>

View File

@ -18,9 +18,9 @@
<div class="panel panel--padded panel--scrollable flexbox-area-grow"> <div class="panel panel--padded panel--scrollable flexbox-area-grow">
<% if $Message %> <% if $Message %>
<p id="{$FormName}_error" class="message $MessageType">$Message</p> <p id="{$FormName}_error" class="alert $AlertType">$Message</p>
<% else %> <% else %>
<p id="{$FormName}_error" class="message $MessageType" style="display: none"></p> <p id="{$FormName}_error" class="alert $AlertType" style="display: none"></p>
<% end_if %> <% end_if %>
<fieldset> <fieldset>

View File

@ -1,8 +1,8 @@
<form $FormAttributes> <form $FormAttributes>
<% if $Message %> <% if $Message %>
<p id="{$FormName}_error" class="message $MessageType">$Message</p> <p id="{$FormName}_error" class="alert $AlertType">$Message</p>
<% else %> <% else %>
<p id="{$FormName}_error" class="message $MessageType" style="display: none"></p> <p id="{$FormName}_error" class="alert $AlertType" style="display: none"></p>
<% end_if %> <% end_if %>
<fieldset> <fieldset>
<% loop $Fields %> <% loop $Fields %>