@extends('layout.app')

@section('content')
    <form action="{{ route('tokenSource.store') }}" method="POST">
        @csrf
        <div class="card">
            <div class="card-body">
                <div class="form-group col-md-4">
                    <label for="name">Name *</label>
                    <input type="text" name="name" id="name" value="{{ old('name') }}"
                        class="form-control" placeholder="Token Source Name" autocomplete="off">
                    @error('name')
                        <div class="alert alert-danger mt-1">{{ $message }}</div>
                    @enderror
                </div>
                <div class="form-group">
                    <button type="submit" class="btn btn-primary float-right">Save</button>
                </div>
            </div>
        </div>
    </form>
@endsection
