1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-22 15:55:14 +00:00
pixelfed/resources/views/status/edit.blade.php

32 lines
1,000 B
PHP
Raw Permalink Normal View History

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
<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">
<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>
<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