@extends('layouts.admin') @section('title', 'Feature switches') @section('content')

Planned services ship behind these switches. Turning one on shows the service in the app without a new release. Home tiles linked to a switch that is off show as "coming soon".

@foreach ($flags as $f)
@csrf @method('PUT')
{{ $f->name }}
{{ $f->code }}
is_enabled) onchange="this.form.requestSubmit()" aria-label="Enabled">
@if ($f->description)

{{ $f->description }}

@endif @if (isset($tiles[$f->id]))
Home tiles: {{ $tiles[$f->id]->pluck('name')->join(', ') }}
@endif
Targeting rules
@endforeach
@endsection