2024-05-26 12:48:04 +00:00
|
|
|
@extends('layouts.app')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
<p>
|
|
|
|
<a href="{{ action('BookmarkController@index') }}">← Back</a>
|
|
|
|
</p>
|
2024-05-26 13:41:28 +00:00
|
|
|
<form method="post" class="form" action="{{ action('BookmarkController@update', ['bookmark' => $bookmark]) }}">
|
|
|
|
@csrf
|
2024-05-26 12:48:04 +00:00
|
|
|
<div class="bookmark">
|
2024-05-26 13:41:28 +00:00
|
|
|
<div class="bookmark-title form-row"g>
|
2024-05-26 12:48:04 +00:00
|
|
|
<label class="form-label" for="title">
|
|
|
|
Title:
|
|
|
|
</label>
|
2024-05-26 13:41:28 +00:00
|
|
|
<input type="text" class="form-input" name="title" value="{{ $bookmark->title }}">
|
2024-05-26 12:48:04 +00:00
|
|
|
</div>
|
|
|
|
<div class="bookmark-href form-row form-row-stacked">
|
|
|
|
<label class="form-label" for="href">
|
|
|
|
URL:
|
|
|
|
</label>
|
2024-05-26 13:41:28 +00:00
|
|
|
<input type="text" class="form-input" name="href" value="{{ $bookmark->href }}">
|
2024-05-26 12:48:04 +00:00
|
|
|
</div>
|
|
|
|
<div class="bookmark-description form-row form-row-stacked">
|
|
|
|
<label class="form-label" for="description">
|
|
|
|
Description:
|
|
|
|
</label>
|
2024-05-26 13:41:28 +00:00
|
|
|
<textarea name="description" class="form-textarea">{{ $bookmark->description }}</textarea>
|
2024-05-26 12:48:04 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-row align-right bookmark-actions">
|
|
|
|
<a class="form-button" href="{{ action('BookmarkController@show', ['bookmark' => $bookmark]) }}">Cancel</a>
|
|
|
|
<input type="submit" class="form-button" value="Save">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
@endsection
|