aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/app/sprinkles/FormGenerator/src/Element/Alert.php
diff options
context:
space:
mode:
Diffstat (limited to 'main/app/sprinkles/FormGenerator/src/Element/Alert.php')
-rw-r--r--main/app/sprinkles/FormGenerator/src/Element/Alert.php34
1 files changed, 0 insertions, 34 deletions
diff --git a/main/app/sprinkles/FormGenerator/src/Element/Alert.php b/main/app/sprinkles/FormGenerator/src/Element/Alert.php
deleted file mode 100644
index 31453d3..0000000
--- a/main/app/sprinkles/FormGenerator/src/Element/Alert.php
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-/**
- * UF Form Generator
- *
- * @link https://github.com/lcharette/UF_FormGenerator
- * @copyright Copyright (c) 2017 Louis Charette
- * @license https://github.com/lcharette/UF_FormGenerator/blob/master/LICENSE (MIT License)
- */
-
-namespace UserFrosting\Sprinkle\FormGenerator\Element;
-
-use UserFrosting\Sprinkle\FormGenerator\Element\BaseInput;
-
-/**
- * Alert input type class.
- * Manage the default attributes required to display an alert
- *
- * @extends BaseInput
- */
-class Alert extends BaseInput
-{
-
- /**
- * {@inheritDoc}
- */
- protected function applyTransformations() {
- $this->element = array_merge([
- "class" => "alert-danger",
- "icon" => "fa-ban",
- "value" => $this->value,
- "name" => $this->name
- ], $this->element);
- }
-}