@extends('layout.default') @section('content')

Campaign Analyzer

{{ $platform->title }}

{!! $platform->instructions !!}

@foreach($platform->metrics as $key=>$metric)
@if($metric->type != 'Hidden')

{{ $key+1 . '. ' . $metric->title }}

{{ $metric->description }}

@endif @if($metric->type == 'Dropdown') {{-- Please select a value.--}} @elseif($metric->type == 'Numeric')
type_values == 'number' ? 'style=display:none' : '' }}> @switch($metric->type_values) @case('number')@break @case('money') $ @break @case('percent') % @break @endswitch
@switch($metric->type_values) @case('number') You can use dot to set decimals. @break {{-- @case('money') You can use negative values. @break--}} @case('percent') You can use dot to set decimals. @break @endswitch @else @endif
@endforeach
@endsection @section('scripts') @endsection