Commit c9ffddc9 authored by Sylvain's avatar Sylvain

Mise à jour des templates

parent 3f13fbf2
# Modulus Service Field # Modulus Service Template
A helper to generate HTML form fields in Bootstrap very easily A helper to generate HTML back-office lists in Bootstrap very easily
## Required ## Required
- Composer - Composer
......
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
namespace Goldenscarab\Modulus\Service\Template\Compose; namespace Goldenscarab\Modulus\Service\Template\Compose;
use Illuminate\Support\Facades\Request; use Illuminate\Support\Str;
use \Illuminate\Support\HtmlString; use \Illuminate\Support\HtmlString;
use Illuminate\Support\Facades\Request;
class Template1Bt4 class Template1Bt4
...@@ -64,7 +65,7 @@ class Template1Bt4 ...@@ -64,7 +65,7 @@ class Template1Bt4
$render = vsprintf($template, [ $render = vsprintf($template, [
empty($this->table_id) ? 'table-' . str_slug($this->route_prefix) : $this->table_id, empty($this->table_id) ? 'table-' . Str::slug($this->route_prefix) : $this->table_id,
trim('table table-sm table-hover table-striped ' . $this->table_class), trim('table table-sm table-hover table-striped ' . $this->table_class),
$this->renderIndent($this->renderListHead(), 3), $this->renderIndent($this->renderListHead(), 3),
$this->renderIndent($this->renderListBody(), 2), $this->renderIndent($this->renderListBody(), 2),
......
...@@ -54,7 +54,7 @@ class Template3Bt4 ...@@ -54,7 +54,7 @@ class Template3Bt4
$render = vsprintf($template, [ $render = vsprintf($template, [
empty($this->table_id) ? 'table-' . str_slug($this->route_prefix) : $this->table_id, empty($this->table_id) ? 'table-' . Str::slug($this->route_prefix) : $this->table_id,
trim('table table-sm table-hover table-striped ' . $this->table_class), trim('table table-sm table-hover table-striped ' . $this->table_class),
$this->renderIndent($this->renderListHead(), 3), $this->renderIndent($this->renderListHead(), 3),
$this->renderIndent($this->renderListBody(), 2), $this->renderIndent($this->renderListBody(), 2),
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment