1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 23:42:32 +01:00

Updated blade components to use Bootstrap classes

Updated blade components to use Bootstrap classes
This commit is contained in:
cp6 2022-02-20 22:00:05 +11:00
parent 9308110bd8
commit 9f53afb409
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
<!-- Validation Errors -->
<x-auth-validation-errors class="mb-4" :errors="$errors"/>
<h3 class="text-center mb-4">Login to My idlers</h3>
<h3 class="text-center mb-4">My idlers</h3>
<form method="POST" action="{{ route('login') }}">
@csrf
<div class="form-floating mb-3">

View File

@ -1,3 +1,3 @@
@props(['disabled' => false])
<input {{ $disabled ? 'disabled' : '' }} {!! $attributes->merge(['class' => 'rounded-md shadow-sm border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50']) !!}>
<input {{ $disabled ? 'disabled' : '' }} {!! $attributes->merge(['class' => 'form-control']) !!}>

View File

@ -1,5 +1,5 @@
@props(['value'])
<label {{ $attributes->merge(['class' => 'block font-medium text-sm text-gray-700']) }}>
<label {{ $attributes->merge(['class' => 'small text-muted']) }}>
{{ $value ?? $slot }}
</label>