Tags Management

The Admin or Creator user has access to a tags management table page.


The theme has some default categories but an Admin or Creator user can manage these tags. The tags management can be accessed by clicking Tags Management from the Laravel Examples section of the sidebar or adding /laravel-tags-management in the url. The user is able to add, edit and delete tags. For adding a new tag you can press the + New Tag button or add in the url /laravel-new-tag. If you would like to edit or delete a tag you can click on the Action column. It is also possible to sort the fields or to search in the fields.

On the page for adding a new category you will find a form which allows you to fill the name and the description of the new tag and on the edit page you will find a similar form for the changes you wish to make.

The `/resources/views/livewire/laravel-examples/edit-tag.blade.php` is the blade template for editing a tag:

              
                <div>
                    <label class="mt-4">{{ __('Tag Description') }}</label>
                    <div class="@error('tag.color') has-danger @enderror">
                        <input wire:model="tag.color" type="color" name="color" id="input-name"
                                class="form-control @error('tag.color') is-invalid @enderror" placeholder="Color"
                                value="{{ old('color') }}" required >
                    </div>
                    @error('tag.color') <div class="text-danger text-xs">{{ $message }}</div>@enderror
                </div>