feat: add profile image editing and update profile validation
This commit is contained in:
@@ -57,10 +57,29 @@
|
||||
<span class="far fa-shopping-bag"></span>
|
||||
اکنون ثبت کن
|
||||
</button>
|
||||
<a href="#" class="border-btn">
|
||||
<i class="far fa-heart"></i>
|
||||
افزودن به علاقه مندی ها
|
||||
</a>
|
||||
|
||||
<?php if(auth()->guard()->check()): ?>
|
||||
<form action="<?php echo e(route('accounts.favorites.tour.toggle', ['tour' => $tour->id])); ?>"
|
||||
method="POST"
|
||||
class="d-inline">
|
||||
<?php echo csrf_field(); ?>
|
||||
|
||||
<button type="submit" class="border-btn border-0">
|
||||
<?php if($isFavorite): ?>
|
||||
<i class="fas fa-heart"></i>
|
||||
حذف از علاقهمندیها
|
||||
<?php else: ?>
|
||||
<i class="far fa-heart"></i>
|
||||
افزودن به علاقهمندیها
|
||||
<?php endif; ?>
|
||||
</button>
|
||||
</form>
|
||||
<?php else: ?>
|
||||
<a href="<?php echo e(route('auth.login.index')); ?>" class="border-btn">
|
||||
<i class="far fa-heart"></i>
|
||||
افزودن به علاقهمندیها
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user