@extends('header') @section('content') {!! Former::open($url) ->addClass('col-lg-10 col-lg-offset-1 warn-on-exit main-form') ->method($method) ->rules([ 'name' => 'required', 'client_id' => 'required', ]) !!} @if ($project) {!! Former::populate($project) !!} {!! Former::populateField('task_rate', floatval($project->task_rate) ? Utils::roundSignificant($project->task_rate) : '') !!} @endif