@extends('frame') @section('title', 'Den | Member Admin') @php if($mode == 'member-create') { $action_url = '/den/member/create'; }else{ $action_url = '/den/member/edit'; } @endphp @section('main-content')
@switch($mode) @case('member-edit')

Edit Info for {{$member->handle}}

@include('forms.member-edit')
@break @case('member-create')

New Member Info

@include('forms.member-edit')
@break @default

Member Listing

@foreach($members as $member) {{$member->handle}}
@endforeach

Add Member

Make a new friend
@endswitch
@endsection