34 lines
1.4 KiB
PHP
34 lines
1.4 KiB
PHP
|
@extends('layouts.app')
|
||
|
|
||
|
@section('content')
|
||
|
<p>
|
||
|
<a href="{{ action('BookmarkController@index') }}">← Back</a>
|
||
|
</p>
|
||
|
<form action="post" class="form">
|
||
|
<div class="bookmark">
|
||
|
<div class="bookmark-title form-row">
|
||
|
<label class="form-label" for="title">
|
||
|
Title:
|
||
|
</label>
|
||
|
<input type="text" class="form-input" "name="title" value="{{ htmlentities($bookmark->title) }}">
|
||
|
</div>
|
||
|
<div class="bookmark-href form-row form-row-stacked">
|
||
|
<label class="form-label" for="href">
|
||
|
URL:
|
||
|
</label>
|
||
|
<input type="text" class="form-input" "name="href" value="{{ htmlentities($bookmark->href) }}">
|
||
|
</div>
|
||
|
<div class="bookmark-description form-row form-row-stacked">
|
||
|
<label class="form-label" for="description">
|
||
|
Description:
|
||
|
</label>
|
||
|
<textarea name="description" class="form-textarea">{{ htmlentities($bookmark->title) }}</textarea>
|
||
|
</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
|