create.edge
Home
/
resources /
views /
submissions /
create.edge
@layout('layouts.main')
@section('content')
<form method="POST" action="{{ route('/submissions.store') }}">
{{ csrfField() }}
<div class="field">
<label class="label">Name of Submission</label>
<input class="input" type="text" name="name" placeholder="Buildings, Jan 2019" value="{{ old('name', '') }}" />
{{ elIf('<span class="has-text-danger">$self</span>', getErrorFor('name'), hasErrorFor('name')) }}
</div>
<div class="field">
<label class="label">Element</label>
<div class="select">
<select name="element_id">
<option>Select dropdown</option>
@each(element in elements)
<option value="{{element.id}}">{{element.name}}</option>
@endeach
</select>
</div>
</div>
<div class="field">
<label class="label">Steward</label>
<div class="select">
<select name="steward_id">
<option>Select dropdown</option>
@each(steward in stewards)
<option value="{{steward.id}}">{{steward.contact.first_name}} {{steward.contact.last_name}}</option>
@endeach
</select>
</div>
</div>
<div class="field">
<label class="label">Status</label>
<div class="select">
<select name="status_id">
<option>Select dropdown</option>
@each(status in statuses)
<option value="{{status.id}}">{{status.status}}</option>
@endeach
</select>
</div>
</div>
<div class="field">
<label class="label">Local File Location</label>
<input class="input" type="text" name="local_file_location" placeholder="S:/shared/gis/adminbnds/submission.zip" value="{{ old('local_file_location', '') }}" />
{{ elIf('<span class="has-text-danger">$self</span>', getErrorFor('local_file_location'), hasErrorFor('local_file_location')) }}
</div>
<div class="field">
<label class="label">Download File Location</label>
<input class="input" type="text" name="download_file_location" placeholder="S:/shared/gis/adminbnds/submission.zip" value="{{ old('download_file_location', '') }}" />
{{ elIf('<span class="has-text-danger">$self</span>', getErrorFor('download_file_location'), hasErrorFor('download_file_location')) }}
</div>
<div class="field">
<label class="label">ArcGIS Server Service Location</label>
<input class="input" type="text" name="service_location_ags" placeholder="S:/shared/gis/adminbnds/submission.zip" value="{{ old('service_location_ags', '') }}" />
{{ elIf('<span class="has-text-danger">$self</span>', getErrorFor('service_location_ags'), hasErrorFor('service_location_ags')) }}
</div>
<div class="field">
<label class="label">ArcGIS Online Service Location</label>
<input class="input" type="text" name="service_location_agol" placeholder="S:/shared/gis/adminbnds/submission.zip" value="{{ old('service_location_agol', '') }}" />
{{ elIf('<span class="has-text-danger">$self</span>', getErrorFor('service_location_agol'), hasErrorFor('service_location_agol')) }}
</div>
<div class="field">
<label class="label">Public</label>
<div class="select">
<select name="public">
<option value="true">Yes</option>
<option value="false">No</option>
</select>
</div>
</div>
<div class="field is-grouped">
<div class="control">
<button class="button is-link ss-submit" type="submit">Submit</button>
</div>
<div class="control">
<button class="button is-text"><a href="{{ route('/submissions.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