first commit
This commit is contained in:
45
resources/views/crud/generated/shortcodes/edit.blade.php
Normal file
45
resources/views/crud/generated/shortcodes/edit.blade.php
Normal file
@ -0,0 +1,45 @@
|
||||
@extends('backend.template')
|
||||
@section('content')
|
||||
<!-- start page title -->
|
||||
<div class="row">
|
||||
|
||||
|
||||
<div class="col-12">
|
||||
<div class="page-title-box d-sm-flex align-items-center justify-content-between">
|
||||
<h4 class="mb-sm-0">Edit Shortcode</h4>
|
||||
|
||||
|
||||
<div class="page-title-right">
|
||||
<ol class="breadcrumb m-0">
|
||||
<li class="breadcrumb-item"><a href="javascript: void(0);">Dashboards</a></li>
|
||||
<li class="breadcrumb-item active">Add Shortcode</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end page title -->
|
||||
<form action="{{ route('shortcodes.update', [$data->shortcode_id]) }}" id="updateCustomForm" method="POST">
|
||||
@csrf <input type=hidden name='shortcode_id' value='{{ $data->shortcode_id }}' />
|
||||
<div class='card'>
|
||||
|
||||
<div class='card-body'>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-6">{{ createText('title', 'title', 'Title', '', $data->title) }}
|
||||
</div>
|
||||
<div class="col-lg-12 pb-2">{{ createPlainTextarea('text', 'text', 'Text', $data->text) }}
|
||||
</div>
|
||||
<div class="col-lg-12 pb-2">
|
||||
{{ createPlainTextarea('description', 'description ', 'Description', $data->description) }}
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php createButton('btn-primary btn-update', '', 'Submit'); ?>
|
||||
<?php createButton('btn-danger btn-cancel', '', 'Cancel', route('shortcodes.index')); ?>
|
||||
</form>
|
||||
@endsection
|
Reference in New Issue
Block a user