Commit d7d78d4
Changed files (2)
js/trax_input.js
@@ -28,7 +28,7 @@ $(document).ready( function() {
bootstrap_alert = function () {}
bootstrap_alert.success = function (message) {
console.log('a');
- $('#alert_placeholder').html(
+ $('#form_row').prependl(
'<div id="alert" class="text-center alert alert-dismissable col-sm-8 col-sm-offset-2">'+
message +
'<button type="button" class="close" aria-hidden="true" data-dismiss="alert" >×</button>'+
input.php
@@ -1,7 +1,6 @@
<?php include 'header.php' ?>
<div class="container">
- <div class="row">
- <div id="alert_placeholder"></div>
+ <div id=form_row class="row">
<form class="form-horizontal col-sm-8 col-sm-offset-2" role="form"
method="POST" action="input_process.php" id="carForm">
<div class="form-group">