src/FieldTypes/Date.php 1 location
|
@@ 7-16 (lines=10) @@
|
| 4 |
|
|
| 5 |
|
use Illuminate\Support\Facades\Input; |
| 6 |
|
|
| 7 |
|
class Date |
| 8 |
|
{ |
| 9 |
|
public static function prepare($name, $value = null, $properties = []) |
| 10 |
|
{ |
| 11 |
|
return '<div class="input-group date"> |
| 12 |
|
<span class="input-group-addon"><i class="far fa-calendar-alt"></i></span> |
| 13 |
|
'.(\Form::text($name, Input::old($name, $value), $properties['attributes'])).' |
| 14 |
|
</div>'; |
| 15 |
|
} |
| 16 |
|
} |
| 17 |
|
|
src/FieldTypes/Text.php 1 location
|
@@ 7-13 (lines=7) @@
|
| 4 |
|
|
| 5 |
|
use Illuminate\Support\Facades\Input; |
| 6 |
|
|
| 7 |
|
class Text |
| 8 |
|
{ |
| 9 |
|
public static function prepare($name, $value = null, $properties = []) |
| 10 |
|
{ |
| 11 |
|
return \Form::text($name, Input::old($name, $value), $properties['attributes']); |
| 12 |
|
} |
| 13 |
|
} |
| 14 |
|
|
src/FieldTypes/Textarea.php 1 location
|
@@ 7-13 (lines=7) @@
|
| 4 |
|
|
| 5 |
|
use Illuminate\Support\Facades\Input; |
| 6 |
|
|
| 7 |
|
class Textarea |
| 8 |
|
{ |
| 9 |
|
public static function prepare($name, $value = null, $properties = []) |
| 10 |
|
{ |
| 11 |
|
return \Form::textarea($name, Input::old($name, $value), $properties['attributes']); |
| 12 |
|
} |
| 13 |
|
} |
| 14 |
|
|