PHP Classes

File: resources/views/season.blade.php

Recommend this page to a friend!
  Classes of Edward Paul   PHP Football Manager   resources/views/season.blade.php   Download  
File: resources/views/season.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Football Manager
Application to manage football championships
Author: By
Last change:
Date: 2 years ago
Size: 1,796 bytes
 

Contents

Class file image Download
@extends('layouts.app')

@section('content')
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-md-8">
                <div class="card">
                    <div class="card-header">Create New Season</div>
                    <div class="card-body">
                        <form method="POST" action="{{ route('season') }}">
                            @csrf
                            <div class="form-group row">
                                <label for="seasons" class="col-md-4 col-form-label text-md-right">Seasons</label>

                                <div class="col-md-6">
                                    <input id="seasons" type="text" class="form-control{{ $errors->has('seasons') ? ' is-invalid' : '' }}" name="seasons" value="{{ old('seasons') }}" required autocomplete="seasons" autofocus>

                                    @if ($errors->has('seasons'))
                                        <span class="invalid-feedback" role="alert">
                                        <strong>{{ $errors->first('seasons') }}</strong>
                                    </span>
                                    @endif
                                </div>
                            </div>
                            <div class="form-group row mb-0">
                                <div class="col-md-8 offset-md-4">
                                    <button type="submit" class="btn btn-primary">
                                        Create Season
                                    </button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection