tethys/resources/views/settings/person/_form.blade.php

53 lines
2.2 KiB
PHP
Raw Normal View History

2018-08-06 12:30:51 +00:00
<fieldset>
<div class="pure-control-group">
{!! Form::label('academic_title', 'Title..') !!}
{!! Form::text('academic_title', null, ['class' => 'form-control']) !!}
<aside id="titleHelp" class="pure-form-message-inline">title is optional.</aside>
</div>
<div class="pure-control-group">
{!! Form::label('last_name', 'Name..') !!}
{!! Form::text('last_name', null, ['class' => 'form-control']) !!}
<em>*</em>
</div>
<div class="pure-control-group" ">
{!! Form::label('first_name', 'First Name..') !!}
{!! Form::text('first_name', null, ['class' => 'form-control']) !!}
2018-10-04 14:41:29 +00:00
<em>*</em>
{{-- <aside id="firstNameHelp" class="pure-form-message-inline">first name is optional.</aside> --}}
2018-08-06 12:30:51 +00:00
</div>
<div class="pure-control-group">
{!! Form::label('email', 'Email..') !!}
{!! Form::text('email', null, ['class' => 'form-control']) !!}
<small id="emailHelp" class="pure-form-message-inline">email is optional.</small>
</div>
2018-10-19 10:54:40 +00:00
<div class="pure-control-group">
{!! Form::label('date_of_birth', 'Date Of Birth..') !!}
{!! Form::date('date_of_birth', null, ['placeholder' => date('y-m-d'), 'class' => 'form-control']) !!}
<small id="emailHelp" class="pure-form-message-inline">date of birth is optional.</small>
</div>
2018-08-06 12:30:51 +00:00
<div class="pure-control-group">
{!! Form::label('identifier_orcid', 'ORCID..') !!}
{!! Form::text('identifier_orcid', null, ['class' => 'form-control']) !!}
<small id="orcidHelp" class="pure-form-message-inline">orcid is optional.</small>
</div>
<h5><b>Status of person</b></h5>
<div class="pure-control-group checkboxlist">
<label for="status" class="pure-checkbox">
<input type="hidden" name="status" value="0">
<input name="status" value="1" {{ (isset($person) && $person->status == 1) ? 'checked="checked" ' : '' }} type="checkbox" class="form-check-input">
Active?
</label>
</div>
2018-08-29 15:18:15 +00:00
2018-08-06 12:30:51 +00:00
{!! Form::submit($submitButtonText, ['class' => 'pure-button button-small']) !!}
</fieldset>
@include('errors._errors')