create.edge
Home
/
resources /
views /
stewards /
create.edge
@layout('layouts.main')
@section('content')
<form method="POST" action="{{ route('/stewards.store') }}">
{{ csrfField() }}
<div class="field">
<label class="label">Contact</label>
<div class="select">
<select name="contact_id">
<option>Select dropdown</option>
@each(contact in contacts)
<option value="{{contact.id}}">{{contact.first_name}} {{contact.last_name}}</option>
@endeach
</select>
</div>
</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 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('/stewards.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