edit.edge
Home
/
resources /
views /
organizations /
edit.edge
@layout('layouts.main')
@section('content')
<form method="POST" action="{{ APP_URL() + route('/organizations.update', {id: organization.id}) + '?_method=PUT'}}">
{{ csrfField() }}
<div class="field">
<label class="label">Organization Name</label>
<input class="input" type="text" name="name" placeholder="Geospatial Enterprise Office" value="{{ organization.name }}" />
{{ elIf('<span class="has-text-danger">$self</span>', getErrorFor('name'), hasErrorFor('name')) }}
</div>
<div class="field">
<label class="label">Organization Type</label>
<div class="select">
<select name="organization_type_id">
<option>Select dropdown</option>
@each(type in types)
<option value="{{type.id}}" {{type.id === organization.organization_type_id ? 'selected' : ''}}>{{type.type}}</option>
@endeach
</select>
</div>
</div>
<div class="field">
<label class="label">Organization Email</label>
<input class="input" type="text" name="email" placeholder="darth.vader@oregon.gov" value="{{ organization.email }}" />
{{ elIf('<span class="has-text-danger">$self</span>', getErrorFor('email'), hasErrorFor('email')) }}
</div>
<div class="field">
<label class="label">Organization Phone</label>
<input class="input" type="text" name="phone" placeholder="555-555-5555" value="{{ organization.phone }}" />
{{ elIf('<span class="has-text-danger">$self</span>', getErrorFor('phone'), hasErrorFor('phone')) }}
</div>
<div class="field is-grouped">
<div class="control">
<button class="button is-link ss-submit" type="submit">Modify</button>
</div>
<div class="control">
<button class="button is-text"><a href="{{ APP_URL() + route('/themes.index') }}">Cancel</a></button>
</div>
</div>
<!--
<div class="notification is-warning">
<button class="delete"></button>
Building Snapshots for some items may take a couple minutes. Please be patient!
</div>
-->
</form>
@endsection