Add rank management feature with CRUD and UI
Introduces a new rank management system including the Rank model, migrations for the ranks table and user IP address, Livewire components for managing and displaying ranks, and related Blade views. Updates navigation and routes to include the new 'Gestión Rangos' section, and enhances the ShareCodeComponent with user data. Also adds a reusable input field component for forms.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
@props(['label', 'model', 'type' => 'text', 'step' => null])
|
||||
|
||||
<div class="flex flex-col space-y-1">
|
||||
<label class="block text-sm font-medium text-gray-700">{{ $label }}</label>
|
||||
|
||||
<input
|
||||
type="{{ $type }}"
|
||||
@if($step) step="{{ $step }}" @endif
|
||||
wire:model="{{ $model }}"
|
||||
class="border-gray-300 rounded-lg focus:ring-indigo-500 focus:border-indigo-500 w-full text-gray-800"
|
||||
/>
|
||||
|
||||
@error($model)
|
||||
<span class="text-xs text-red-500">{{ $message }}</span>
|
||||
@enderror
|
||||
</div>
|
||||
Reference in New Issue
Block a user