33 lines
1.4 KiB
PHP
33 lines
1.4 KiB
PHP
@extends('layouts.main')
|
|
|
|
@section('content')
|
|
<h2><i class="fa fa-folder"><i class="fas fa-ticket-alt"></i></i> Nouvelle campagne</h2>
|
|
<div class="form-wrapper">
|
|
{!! Form::open(['route' => 'campagne.store']) !!}
|
|
<div class="form-split">
|
|
<div class="form-field">
|
|
{!! Form::label('camp_name', 'Nom') !!}
|
|
{!! Form::input('text', 'camp_name', null, ['required']) !!}
|
|
</div>
|
|
<div class="form-field">
|
|
{!! Form::label('camp_type', 'Type') !!}
|
|
{!! Form::select('camp_type', ['Mur', 'Panier', 'Mur sans sélection', 'Panier Sélectionnable']) !!}
|
|
</div>
|
|
</div>
|
|
<div class="form-split">
|
|
<div class="form-field">
|
|
{!! Form::label('camp_published', 'Publier') !!}
|
|
{!! Form::select('camp_published', ['Non', 'Oui']) !!}
|
|
</div>
|
|
<div class="form-field limitPrinting">
|
|
{!! Form::label('camp_limitedPrinting', 'Limiter les impressions à 1 BR à la fois') !!}
|
|
{!! Form::checkbox('camp_limitedPrinting', 1, false, array('id'=>'camp_limitedPrinting')) !!}
|
|
{!! Form::label('camp_limitedPrinting', '') !!}
|
|
</div>
|
|
</div>
|
|
<div class="form-field submit">
|
|
{!! Form::submit('Enregistrer') !!}
|
|
</div>
|
|
{!! Form::close() !!}
|
|
</div>
|
|
@endsection
|