Display success/error messages across the width of the page

screenshot: http://i.imgur.com/xcuHrMF.png
This commit is contained in:
Arjit Chaudhary
2015-09-16 16:04:21 +05:30
parent c14942e399
commit 5b1d1f79fd
-5
View File
@@ -70,8 +70,6 @@ if ($_POST['editing']) {
$device = dbFetchRow('SELECT * FROM `devices` WHERE `device_id` = ?', array($device['device_id']));
$descr = $device['purpose'];
echo '<div class="row">
<div class="col-sm-6">';
if ($updated && $update_message) {
print_message($update_message);
}
@@ -79,9 +77,6 @@ else if ($update_message) {
print_error($update_message);
}
echo ' </div>
</div>';
echo "
<form id='edit' name='edit' method='post' action='' role='form' class='form-horizontal'>
<input type=hidden name='editing' value='yes'>