45 lines
1.5 KiB
PHP
45 lines
1.5 KiB
PHP
@extends('layout')
|
|
|
|
@section('content')
|
|
<h1>Veranstaltung hinzufügen</h1>
|
|
|
|
|
|
{!! Form::open(['url' => 'admin/user']) !!}
|
|
{!! Form::label('title', 'Titel:') !!}
|
|
{!! Form::text('title',null,['class'=>'form-control']) !!}
|
|
|
|
{!! Form::label('fistname', 'Vorname:') !!}
|
|
{!! Form::text('firstname',null,['class'=>'form-control']) !!}
|
|
|
|
{!! Form::label('lastname', 'Nachname:') !!}
|
|
{!! Form::text('lastname',null,['class'=>'form-control']) !!}
|
|
|
|
{!! Form::label('street', 'Straße:') !!}
|
|
{!! Form::text('street',null,['class'=>'form-control']) !!}
|
|
|
|
{!! Form::label('location', 'PLZ / Ort:') !!}
|
|
{!! Form::text('location',null,['class'=>'form-control']) !!}
|
|
|
|
{!! Form::label('phone', 'Telefonnummer:') !!}
|
|
{!! Form::text('phone',null,['class'=>'form-control']) !!}
|
|
|
|
{!! Form::label('email', 'E-Mail:') !!}
|
|
{!! Form::text('email',null,['class'=>'form-control']) !!}
|
|
|
|
{!! Form::label('password', 'Passwort:') !!}
|
|
{!! Form::text('password',null,['class'=>'form-control']) !!}
|
|
|
|
{!! Form::label('notes', 'Notizen:') !!}
|
|
{!! Form::textarea('notes',null,['class'=>'form-control']) !!}
|
|
|
|
{!! Form::label('usercategory', 'Kategorie:') !!}<br/>
|
|
@foreach($usercat as $cat)
|
|
{{ Form::checkbox("usercategory[]", $cat->id, false) }}
|
|
{{$cat->name}}<br/>
|
|
@endforeach
|
|
|
|
|
|
{!! Form::submit('Speichern', ['class' => 'btn btn-primary form-control']) !!}
|
|
{!! Form::close() !!}
|
|
@endsection
|