@extends('backend.layouts.app') @section('title', __('labels.backend.cert_templates.create').' | '.app_name()) @push('after-styles') @endpush @section('content') {!! Form::open(['method' => 'POST', 'route' => ['admin.certificates.templates.store'], 'files' => true, 'enctype'=>"multipart/form-data"]) !!}

@lang('labels.backend.cert_templates.create')

←
{!! Form::label('title_ar', trans('labels.backend.cert_templates.fields.title_ar')) !!} {!! Form::text('title_ar', null, ['class' => 'form-control', 'placeholder' => 'Title']) !!}
{!! Form::label('title', trans('labels.backend.cert_templates.fields.title_en')) !!} {!! Form::text('title', null, ['class' => 'form-control', 'placeholder' => 'Title']) !!}
{!! Form::label('course_type', trans('labels.backend.cert_templates.fields.course_type')) !!} {!! Form::select('course_type', $courseTypes, null, ['class' => 'form-control']) !!}
{!! Form::label('qr_width', trans('labels.backend.cert_templates.fields.qr_width')) !!} {!! Form::number('qr_width', null, ['class' => 'form-control', 'placeholder' => 'QR Width']) !!}
{!! Form::label('qr_height', trans('labels.backend.cert_templates.fields.qr_height')) !!} {!! Form::number('qr_height', null, ['class' => 'form-control', 'placeholder' => 'QR Height']) !!}
{!! Form::label('template_content', trans('labels.backend.cert_templates.fields.template_content')) !!} {!! Form::textarea('template_content', old('template'), ['class' => 'form-control editor', 'rows' => 3, 'placeholder' => '']) !!}
{!! Form::label('bg_image', trans('labels.backend.cert_templates.fields.bg_image')) !!} {!! Form::file('bg_image', ['class' => 'form-control-file']) !!}
{!! Form::close() !!} @stop @push('after-scripts') @endpush