update to bootstrap 5.2.3 continued

This commit is contained in:
Joey Kimsey
2024-12-10 09:00:49 -05:00
parent f3f323d30f
commit a0726e6578
23 changed files with 584 additions and 345 deletions

View File

@ -30,11 +30,11 @@ class Feedback extends Controller {
self::$title = 'Feedback - {SITENAME}';
self::$pageDescription = 'At {SITENAME}, we value our users\' input. You can provide any feedback or suggestions using this form.';
if ( !Input::exists() ) {
return Views::view( 'feedback.feedback' );
return Views::view( 'feedback.create' );
}
if ( !Forms::check( 'feedback' ) ) {
Issues::add( 'error', [ 'There was an error with your form, please check your submission and try again.' => Check::userErrors() ] );
return Views::view( 'feedback.feedback' );
return Views::view( 'feedback.create' );
}
$result = self::$feedback->create( Input::post( 'name' ), Input::post( 'feedbackEmail' ), Input::post( 'entry' ) );
if ( $result ) {