2018-08-27 03:19:37 +00:00
|
|
|
@extends('layouts.app')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
<div class="container">
|
2019-06-18 05:31:53 +00:00
|
|
|
<div class="col-12 col-md-8 offset-md-2 pt-4">
|
2018-08-27 03:19:37 +00:00
|
|
|
|
2021-05-01 03:41:42 +00:00
|
|
|
<div class="card shadow-none border">
|
2019-06-18 05:31:53 +00:00
|
|
|
<div class="card-header bg-white font-weight-bold d-flex justify-content-between align-items-center">
|
|
|
|
<span>Edit Status</span>
|
|
|
|
<a class="btn btn-outline-primary btn-sm font-weight-bold" href="{{$status->url()}}">Back to post</a>
|
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
2021-05-01 03:41:42 +00:00
|
|
|
<form method="post">
|
|
|
|
@csrf
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="font-weight-bold text-muted small">License</label>
|
|
|
|
<select class="form-control" name="license">
|
|
|
|
@foreach($licenses as $license)
|
|
|
|
<option value="{{$license['id']}}" {{$status->firstMedia()->license == $license['id'] ? 'selected' : ''}}>{{$license['title']}}</option>
|
|
|
|
@endforeach
|
|
|
|
</select>
|
2019-06-18 05:31:53 +00:00
|
|
|
</div>
|
2021-05-01 03:41:42 +00:00
|
|
|
<hr>
|
|
|
|
<button class="btn btn-primary btn-block font-weight-bold">Save</button>
|
|
|
|
</form>
|
2019-06-18 05:31:53 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-08-27 03:19:37 +00:00
|
|
|
</div>
|
|
|
|
@endsection
|