41 lines
1.8 KiB
PHP
41 lines
1.8 KiB
PHP
@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">{{ __('Accueil') }}</div>
|
|
|
|
<div class="card-body">
|
|
@if (session('status'))
|
|
<div class="alert alert-success" role="alert">
|
|
{{ session('status') }}
|
|
</div>
|
|
@endif
|
|
|
|
<h1>{{ strftime('%B %G', $today->format('U')) }}</h1>
|
|
<form action="{{ url('store') }}" method="post" accept-charset="utf-8">
|
|
@csrf
|
|
<div class="contact-form">
|
|
<div class="form-group">
|
|
<label class="control-label col-sm-5" for="message">Quoi de neuf aujourd'hui ?</label>
|
|
<div class="col-sm-10">
|
|
<textarea class="form-control" rows="5" name="message" id="message"></textarea>
|
|
<span class="text-danger">{{ $errors->first('message') }}</span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="col-sm-offset-2 col-sm-10">
|
|
<button type="submit" class="btn btn-default">J'enregistre ma journée</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|