Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Loydtafireyi/ZimCart into…
Browse files Browse the repository at this point in the history
… master
  • Loading branch information
Loydtafireyi committed Sep 23, 2020
2 parents 6207adb + 44bbbaf commit b33dce7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ Homestead.json
Homestead.yaml
npm-debug.log
yarn-error.log
.idea
6 changes: 3 additions & 3 deletions resources/views/admin/sub-categories/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</span>
@enderror
</div>

<div class="form-group ml-5">
<input type="text" name="name" id="name" class="form-control @error('name') is-invalid @enderror" placeholder="Add sub-category" value="{{ isset($subCategory) ? $subCategory->name : '' }}">

Expand All @@ -39,7 +39,7 @@
@enderror
</div>

@if(isset($subCategory))
@if(isset($category))
<div class="form-group ml-5">
<input type="text" name="slug" id="slug" class="form-control @error('slug') is-invalid @enderror" placeholder="Add SubCategory" value="{{ isset($subCategory) ? $subCategory->slug : '' }}">

Expand All @@ -60,4 +60,4 @@
</div>
</div>

@endsection
@endsection

0 comments on commit b33dce7

Please sign in to comment.