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

61 lines
2.4 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']) !!}
2018-11-08 16:47:27 +00:00
<em>*</em>
2018-08-06 12:30:51 +00:00
</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']) !!}
2018-11-08 16:47:27 +00:00
<em>*</em>
2018-10-19 10:54:40 +00:00
</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>
2018-12-10 16:26:57 +00:00
<div class="pure-control-group">
{!! Form::label('name_type', 'Name Type') !!}
<div class="select form-control">
2019-09-16 12:07:10 +00:00
{!! Form::select('name_type', ['Personal' => 'Personal', 'Organizational' => 'Organizational'], null, ['id' => 'name_type', 'placeholder' => '-- no name type --']) !!}
2018-12-10 16:26:57 +00:00
</div>
<small id="nameTypeHelp" class="pure-form-message-inline">name type is optional</small>
</div>
2018-08-06 12:30:51 +00:00
<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')