status messages always render in div tags; wrapping them in p tags is illegal in html

This commit is contained in:
glaszig 2019-08-19 01:08:46 +01:00
parent df429064c6
commit 680fa1de87
4 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<div class="panel panel-primary">
<div class="panel-heading"><i class="fa fa-lock fa-fw"></i><?php echo _("Configure Auth"); ?></div>
<div class="panel-body">
<p><?php $status->showMessages(); ?></p>
<?php $status->showMessages(); ?>
<form role="form" action="?page=auth_conf" method="POST">
<?php echo CSRFTokenFieldTag() ?>
<div class="row">

View File

@ -4,7 +4,7 @@
<div class="panel-heading"><i class="fa fa-signal fa-fw"></i> <?php echo _("Configure client"); ?></div>
<!-- /.panel-heading -->
<div class="panel-body">
<p><?php $status->showMessages(); ?></p>
<?php $status->showMessages(); ?>
<h4><?php echo _("Client settings"); ?></h4>
<div class="btn-group btn-block">

View File

@ -7,7 +7,7 @@
</div>
<!-- /.panel-heading -->
<div class="panel-body">
<p><?php $status->showMessages(); ?></p>
<?php $status->showMessages(); ?>
<form method="POST" action="?page=dhcpd_conf" class="js-dhcp-settings-form">
<?php echo CSRFTokenFieldTag() ?>
<!-- Nav tabs -->

View File

@ -7,7 +7,7 @@
</div>
<!-- /.panel-heading -->
<div class="panel-body">
<p><?php $status->showMessages(); ?></p>
<?php $status->showMessages(); ?>
<form role="form" action="?page=hostapd_conf" method="POST">
<?php echo CSRFTokenFieldTag() ?>
<!-- Nav tabs -->