@extends('layouts.master') @section('title') {{translate('edit custom_field')}} @endsection @section('content')
{{translate('edit custom_field')}}
{!! Form::open(array('url' => url('custom_field/'.$custom_field->id.'/update'), 'method' => 'post', 'name' => 'form')) !!}
{!! Form::label('category',translate('category'),array('class'=>'')) !!} {!! Form::select('category',array('borrowers'=>translate('add').' '.translate('borrower'),'loans'=>translate('add').' '.translate('loan'),'expenses'=>translate('add').' '.translate('expense'),'other_income'=>translate('add').' '.translate('other_income'),'collateral'=>translate('add').' '.translate('collateral'),'repayments'=>'Add Repayment'),$custom_field->category, array('class' => 'form-control','required'=>'required')) !!}
{!! Form::label('name',translate('field').' '.translate('name'),array('class'=>'')) !!} {!! Form::text('name',$custom_field->name, array('class' => 'form-control', 'placeholder'=>translate('field').' '.translate('name'),'required'=>'required')) !!}
  {{translate('description')}} {{translate('allowed_value')}}
{{translate('text_field_description')}} {{translate('any_value')}}
{{translate('date_field_description')}} {{translate('only_date')}}
{{translate('number_field_description')}} {{translate('only_number')}}
{{translate('decimal_field_description')}} {{translate('only_decimal')}}
{{translate('textarea_description')}} {{translate('any_value')}}
{!! Form::close() !!}
@endsection