@extends('layouts.master') @section('content')
@if (isset($alert)) {!! Form::model($alert, ['route' => ['alerts.update', $alert->id], 'class' => 'alerts-form', 'enctype' => 'multipart/form-data', 'accept-charset' => 'UTF-8']) !!} @else {!! Form::open(['route' => 'alerts.store', 'class' => 'alerts-form', 'enctype' => 'multipart/form-data', 'accept-charset' => 'UTF-8']) !!} @endif
has('title')) class="has-error" @endif> {!! Form::text('title', null, ['class' => 'alert-title form-control', 'placeholder' => 'Hier die Überschrift eingeben ...']) !!}
has('content')) class="has-error" @endif> {!! Form::textarea('content', null, ['id' => 'content', 'class' => 'alert-content']) !!}
{!! Form::close() !!}
@endsection @section('back_button') Zurück @endsection