@extends('layouts.master') @section('content') @if(session('success')) @endif

{{ $module_name }} / Edit

@csrf
@if($errors->has('name')) {{ $errors->first('name') }} @endif
{{str_replace(env('UPLOAD_URL').'clubs/', '', $club->logo)}} @if($errors->has('logo')) {{ $errors->first('logo') }} @endif
@if($errors->has('location')) {{ $errors->first('location') }} @endif
@if($errors->has('state')) {{ $errors->first('state') }} @endif
@if($errors->has('city')) {{ $errors->first('city') }} @endif
@if($errors->has('description')) {{ $errors->first('description') }} @endif
@php $amenities = json_decode($club->amenities, true); $surfaces = json_decode($club->surfaces, true); $nets = json_decode($club->nets, true); @endphp
@if($errors->has('total_courts')) {{ $errors->first('total_courts') }} @endif
@endsection @section('scripts') @endsection