{!! Form::label('Status') !!} {!! Form::select('status_id', $statuses, null, ['class' => 'form-control-admin role-select']) !!}
{!! Form::label('Title') !!} * {!! Form::text('title', null, ['class' => 'form-control-admin', 'placeholder' => 'Title']) !!}
@if(isset($create) && $hackathon->hacks->count() >= 1 || isset($hack) && $hack->is_first != 1)
{!! Form::label('Sms Text') !!} @if(isset($create)) (Sending test sms will be available as soon as you save hack) @endif {!! Form::text('sms_text', null, ['class' => 'form-control-admin', 'placeholder' => 'SMS Text']) !!}
@if(isset($hack))
Send Test SMS
@endif
{!! Form::label('Email Text') !!} @if(isset($create)) (Sending test email will be available as soon as you save hack) @endif {!! Form::textarea('email_text', null, ['class' => 'form-control-admin', 'placeholder' => 'Email Text']) !!}
@if(isset($hack))
Send Test Email
@endif @endif @if(isset($links))
{!! Form::label('Link') !!}
@else
{!! Form::label('Link') !!}
@endif @if(!isset($videos))
{!! Form::label('Video') !!} {!! Form::textarea('videos[video-default]', null, ['class' => 'form-control-admin', 'placeholder' => 'Video']) !!}
@else
{!! Form::label('Video') !!} @if(!$videos->isEmpty()) @foreach($videos as $key => $video) {!! Form::textarea("videos[video-$key]", $video->link, ['class' => 'form-control-admin', 'placeholder' => 'Video']) !!}
{!! $video->link !!}
@endforeach @else {!! Form::textarea('videos[video-default]', null, ['class' => 'form-control-admin', 'placeholder' => 'Video']) !!}
@endif
@endif
Add new video Remove video
@if(!isset($audios))
{!! Form::label('Audio') !!} {!! Form::textarea('audios[audio-default]', null, ['class' => 'form-control-admin', 'placeholder' => 'Audio', 'cols' => '50', 'rows' => '4']) !!}
@else
{!! Form::label('Audio') !!} @if(!$audios->isEmpty()) @foreach($audios as $key => $audio) {!! Form::textarea("audios[audio-$key]", $audio->link, ['class' => 'form-control-admin', 'placeholder' => 'Audio', 'cols' => '50', 'rows' => '4']) !!}
{!! $audio->link !!}
@endforeach @else {!! Form::textarea('audios[audio-default]', null, ['class' => 'form-control-admin', 'placeholder' => 'Audio', 'cols' => '50', 'rows' => '4']) !!}
@endif
@endif
Add new audio Remove audio
{!! Form::label('Content') !!} * {!! Form::textarea('content', null, ['class' => 'form-control-admin summernote', 'placeholder' => 'Content']) !!}
{!! Form::label('Content For Unlogged Users') !!} {!! Form::textarea('content_unlogged', null, ['class' => 'form-control-admin summernote', 'placeholder' => 'Content For Unlogged Users']) !!}