1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 21:52:35 +01:00
invoiceninja/app/views/clients/edit.blade.php

44 lines
969 B
PHP
Raw Normal View History

2013-11-26 13:45:07 +01:00
@extends('header')
@section('onReady')
$('input#name').focus();
@stop
@section('content')
<!--<h3>{{ $title }} Client</h3>-->
@if ($client)
{{ Former::populate($client); }}
@endif
{{ Former::open($url)->addClass('col-md-9 col-md-offset-1')->method($method)->rules(array(
'name' => 'required',
'email' => 'email'
)); }}
{{ Former::legend('Organization') }}
{{ Former::text('name') }}
{{ Former::text('work_phone')->label('Phone') }}
{{ Former::textarea('notes') }}
{{ Former::legend('Contacts') }}
{{ Former::text('first_name') }}
{{ Former::text('last_name') }}
{{ Former::text('email') }}
{{ Former::text('phone') }}
{{ Former::legend('Address') }}
{{ Former::text('address1')->label('Street') }}
{{ Former::text('address2')->label('Apt/Floor') }}
{{ Former::text('city') }}
{{ Former::text('state') }}
{{ Former::text('postal_code') }}
{{ Former::actions()->lg_primary_submit('Save') }}
{{ Former::close() }}
@stop