メタデータプレビューとタグ候補選択のコンポーネント

This commit is contained in:
shibafu
2019-06-11 22:16:40 +09:00
parent a1cb313d4f
commit b8482e0e3c
6 changed files with 140 additions and 6 deletions

View File

@@ -53,7 +53,9 @@
<div class="form-row">
<div class="form-group col-sm-12">
<label for="link"><span class="oi oi-link-intact"></span> オカズリンク</label>
<input id="link" name="link" type="text" autocomplete="off" class="form-control {{ $errors->has('link') ? ' is-invalid' : '' }}" placeholder="http://..." value="{{ old('link') ?? $ejaculation->link }}">
<input id="link" name="link" type="text" autocomplete="off" class="form-control {{ $errors->has('link') ? ' is-invalid' : '' }}"
placeholder="http://..." value="{{ old('link') ?? $ejaculation->link }}"
@change="onChangeLink">
<small class="form-text text-muted">
オカズのURLを貼り付けて登録することができます。
</small>
@@ -62,6 +64,7 @@
@endif
</div>
</div>
<metadata-preview :metadata="metadata"></metadata-preview>
<div class="form-row">
<div class="form-group col-sm-12">
<label for="note"><span class="oi oi-comment-square"></span> ノート</label>
@@ -97,4 +100,4 @@
@push('script')
<script src="{{ mix('js/checkin.js') }}"></script>
@endpush
@endpush