@extends('cms.application') @section('content')
Create New Benefit
{!! Form::open(['route' => 'cms.benefits.index']) !!} @include('cms.benefits._form', ['submitButton' => "Save"]) {!! Form::close() !!}
@if($benefits->count() == 0)
@else @foreach($benefits as $key => $topic)
[ en ]{{ $topic->title_en }}
[ sw ]{{ $topic->title_sw }}
@if($topic->topic_category == 0)
Course Category: SILOWEMA
@elseif($topic->topic_category == 1)
Course Category: SLM-PESA
@elseif($topic->topic_category == 2)
Course Category: EYOLE
@endif
@endforeach
{!! $benefits->render() !!}
@endif
@stop