Skip to content

Commit 8fc4f06

Browse files
committed
fix: fix for post slug
1 parent 8079e91 commit 8fc4f06

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/Views/binshopsblog_admin/posts/form.blade.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
<label for="blog_slug">Blog Post Slug</label>
2424
<input type="text" class="form-control" id="blog_slug" aria-describedby="blog_slug_help" name='slug'
2525
value="{{old("slug",$post->slug)}}">
26-
<small id="blog_slug_help" class="form-text text-muted">The slug (leave blank to auto generate) -
27-
i.e. {{route("binshopsblog.single","")}}/<u><em>this_part</em></u></small>
26+
<small id="blog_slug_help" class="form-text text-muted">The slug (leave blank to auto generate).</small>
2827
</div>
2928

3029
</div>
@@ -108,7 +107,7 @@
108107
<div class="form-group">
109108
<label for="blog_seo_title">SEO: {{"<title>"}} tag (optional)</label>
110109
<input class="form-control" id="blog_seo_title" aria-describedby="blog_seo_title_help"
111-
name='seo_title' tyoe='text' value='{{old("seo_title",$post->seo_title)}}' >
110+
name='seo_title' tyoe='text' value='{{old("seo_title",$post->seo_title)}}' >
112111
<small id="blog_seo_title_help" class="form-text text-muted">Enter a value for the {{"<title>"}} tag. If nothing is provided here we will just use the normal post title from above (optional)</small>
113112
</div>
114113

@@ -146,7 +145,7 @@
146145
@if($post->has_image($size_info['basic_key']))
147146
<div style='max-width:55px; ' class='float-right m-2'>
148147
<a style='cursor: zoom-in;' target='_blank' href='{{$post->image_url($size_info['basic_key'])}}'>
149-
<?=$post->image_tag($size_info['basic_key'], false, 'd-block mx-auto img-fluid '); ?>
148+
<?=$post->image_tag($size_info['basic_key'], false, 'd-block mx-auto img-fluid '); ?>
150149
</a>
151150
</div>
152151
@endif
@@ -199,7 +198,7 @@ class='btn btn-light btn-sm'>Show other sizes</span>
199198
<div class='col-md-12 my-3 text-center'>
200199

201200
<em><a class="a-link-cart-color" target='_blank' href='{{route("binshopsblog.admin.categories.create_category")}}'><i class="fa fa-external-link" aria-hidden="true"></i>
202-
Add new categories
201+
Add new categories
203202
here</a></em>
204203
</div>
205204
</div>

0 commit comments

Comments
 (0)