{{-- Flash Messages --}}
@if (session()->has('success'))
@endif
{{-- Form View (Create/Edit) --}}
@if ($formMode)
@endif
{{-- View Mode --}}
@if ($viewMode && $cryptoToView)
@endif
{{-- Social Links --}}
@endif
{{ session('success') }}
@endif
@if (session()->has('error'))
{{ session('error') }}
@endif
{{-- List View --}}
@if (!$formMode && !$viewMode)
Crypto Markets Management
{{-- Filters --}}
{{-- Table --}}
{{-- Pagination --}}
| # | Image | Name | Symbol | Slug | Price (USD) | Rank | Status | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ $cryptosIcos->firstItem() + $index }} |
@if ($crypto->logo)
|
{{ $crypto->name }} | {{ $crypto->symbol ?? 'N/A' }} | {{ $crypto->slug }} | {{ $crypto->price_usd ? '$' . number_format($crypto->price_usd, 2) : 'N/A' }} | {{ $crypto->rank ?? 'N/A' }} | @if ($crypto->is_active) Active @else Inactive @endif |
|
|
No crypto markets found. |
||||||||
{{ $cryptosIcos->links() }}
{{ $updateMode ? 'Edit' : 'Create' }} Crypto Market
View Crypto Market: {{ $cryptoToView->name }}
{{-- Image --}}
@if ($cryptoToView->image)
@endif
{{-- Description --}}
@if ($cryptoToView->description)
{{-- Basic Info --}}
| Name | {{ $cryptoToView->name }} |
|---|---|
| Symbol | {{ $cryptoToView->symbol }} |
| Slug | {{ $cryptoToView->slug }} |
| Rank | {{ $cryptoToView->rank ?? 'N/A' }} |
| Price (USD) | {{ $cryptoToView->price_usd ? '$' . number_format($cryptoToView->price_usd, 8) : 'N/A' }} |
| Market Cap | {{ $cryptoToView->market_cap_usd ? '$' . number_format($cryptoToView->market_cap_usd, 2) : 'N/A' }} |
| Status | @if ($cryptoToView->is_active) Active @else Inactive @endif |
Description
{!! $cryptoToView->description !!}