@extends('layouts.master') @section('title') {{translate('add custom_field')}} @endsection @section('content')
{{translate('add custom_field')}}
{!! Form::open(array('url' => url('custom_field/store'), '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'),'borrowers', array('class' => 'form-control','required'=>'required')) !!}
{!! Form::label('name',translate('field').' '.translate('name'),array('class'=>'')) !!} {!! Form::text('name',null, 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