|
@@ -41,7 +41,7 @@ discard block |
|
|
block discarded – undo |
|
41
|
41
|
*/ |
|
42
|
42
|
public function boot() |
|
43
|
43
|
{ |
|
44
|
|
- $style= Config::get('form.style'); |
|
|
44
|
+ $style = Config::get('form.style'); |
|
45
|
45
|
|
|
46
|
46
|
if ($style == null) { |
|
47
|
47
|
$style = 'bootstrap4'; |
|
@@ -129,7 +129,7 @@ discard block |
|
|
block discarded – undo |
|
129
|
129
|
* @parem bool $required |
|
130
|
130
|
* @parem array $attributes |
|
131
|
131
|
*/ |
|
132
|
|
- Form::component('nFile', 'form::' . $style . '.normal.file', ['name', 'label', 'required' => false,'attributes' => []]); |
|
|
132
|
+ Form::component('nFile', 'form::' . $style . '.normal.file', ['name', 'label', 'required' => false, 'attributes' => []]); |
|
133
|
133
|
|
|
134
|
134
|
/** |
|
135
|
135
|
* @parem string $name |
|
@@ -137,7 +137,7 @@ discard block |
|
|
block discarded – undo |
|
137
|
137
|
* @parem bool $required |
|
138
|
138
|
* @parem array $attributes |
|
139
|
139
|
*/ |
|
140
|
|
- Form::component('nImage', 'form::' . $style . '.normal.image', ['name', 'label', 'required' => false, 'preview' => ['preview' => false, 'height' => 100, 'default' => '/img/logo-app.png'],'attributes' => ['accept' => 'image/*']]); |
|
|
140
|
+ Form::component('nImage', 'form::' . $style . '.normal.image', ['name', 'label', 'required' => false, 'preview' => ['preview' => false, 'height' => 100, 'default' => '/img/logo-app.png'], 'attributes' => ['accept' => 'image/*']]); |
|
141
|
141
|
|
|
142
|
142
|
|
|
143
|
143
|
/** |
Please login to merge, or discard this patch.