@extends('layouts.app') @section('content')

@lang('quickadmin.trcs-details.title')

{!! Form::model($trcs_detail, ['method' => 'PUT', 'route' => ['admin.trcs_details.update', $trcs_detail->id]]) !!}
@lang('quickadmin.qa_edit')
{!! Form::label('membership_code_id', trans('quickadmin.trcs-details.fields.membership-code').'', ['class' => 'control-label']) !!} {!! Form::select('membership_code_id', $membership_codes, old('membership_code_id'), ['class' => 'form-control select2']) !!}

Membership Number

@if($errors->has('membership_code_id'))

{{ $errors->first('membership_code_id') }}

@endif
{!! Form::label('join_date', trans('quickadmin.trcs-details.fields.join-date').'*', ['class' => 'control-label']) !!} {!! Form::text('join_date', old('join_date'), ['class' => 'form-control date', 'placeholder' => 'Siku Uliyojiunga Na Red Cross', 'required' => '']) !!}

Siku Uliyojiunga Na Red Cross

@if($errors->has('join_date'))

{{ $errors->first('join_date') }}

@endif
{!! Form::label('date_of_birth', trans('quickadmin.trcs-details.fields.date-of-birth').'*', ['class' => 'control-label']) !!} {!! Form::text('date_of_birth', old('date_of_birth'), ['class' => 'form-control date', 'placeholder' => 'Tarehe Ya kuzaliwa', 'required' => '']) !!}

Tarehe Ya kuzaliwa

@if($errors->has('date_of_birth'))

{{ $errors->first('date_of_birth') }}

@endif
{!! Form::label('birth_place_id', trans('quickadmin.trcs-details.fields.birth-place').'*', ['class' => 'control-label']) !!} {!! Form::select('birth_place_id', $birth_places, old('birth_place_id'), ['class' => 'form-control select2', 'required' => '']) !!}

Mkoa Uliozaliwa

@if($errors->has('birth_place_id'))

{{ $errors->first('birth_place_id') }}

@endif
{!! Form::submit(trans('quickadmin.qa_update'), ['class' => 'btn btn-danger']) !!} {!! Form::close() !!} @stop @section('javascript') @parent @stop