@if($item->active == 1)
@if (!$upgrade)
@if($upgrade)
{{__('Upgrade')}}
{{__('Upgrade')}}
@elseif($item->type == 'text' or $item->type == 'code')
@if(Auth::user()->remaining_words > 0 or Auth::user()->remaining_words == -1)
{{__('Create Workbook')}}
@endif
@elseif($item->type == 'voiceover')
@if(Auth::user()->remaining_words > 0 or Auth::user()->remaining_words == -1)
{{__('Create Workbook')}}
@endif
@elseif($item->type == 'image')
@if(Auth::user()->remaining_images > 0 or Auth::user()->remaining_images == -1)
{{__('Create')}}
@endif
@elseif($item->type == 'audio')
@if(Auth::user()->remaining_words>0 or Auth::user()->remaining_words == -1)
{{__('Create')}}
@endif
@else
@endif