@extends('layout')

@section('content')
<main class="container mx-auto px-5 flex flex-col items-center">
    <h1 class="text-4xl font-bold text-center my-4">Создание заявки</h1>
    <form method="POST" action="{{ route('apps.create.post') }}" class="flex flex-col gap-3 p-12 border border-gray-200 mt-5 rounded-xl shadow-xl">
        @csrf
        <input class='py-2 px-4 rounded-xl border border-gray-300' type="text" placeholder="Название курса" name="course_name" value="{{ old('course_name') }}">
        <input class='py-2 px-4 rounded-xl border border-gray-300' type="date" placeholder="date" name="date" value="{{ old('date') }}">
        <select class='py-2 px-4 rounded-xl border border-gray-300' name="payment" id="">
            <option value="cash">Наличными</option>
            <option value="transfit">Переводом по номеру</option>
        </select>
        <button class='py-2 px-3 rounded-xl bg-green-600 text-white font-medium'>Создать</button>
    </form>
</main>
@endsection