@extends('layouts.adminpages') @section('styles') @endsection @section('content')
Volver
{{ $activity->exists ? 'Editar Actividad Personalizada: ' . $activity->name : 'Crear Actividad Personalizada' }}

@csrf @if($activity->exists) @method('PUT') @endif
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('start_date')) {{ $errors->first('start_date') }} @endif
@if ($errors->has('end_date')) {{ $errors->first('end_date') }} @endif
@if ($errors->has('type')) {{ $errors->first('type') }} @endif
@if ($errors->has('status')) {{ $errors->first('status') }} @endif
@if($activity->exists && $activity->image) Actual: Ver imagen @endif @if ($errors->has('image_path')) {{ $errors->first('image_path') }} @endif
@if($activity->exists && $activity->study_information) Actual: Ver PDF @endif @if ($errors->has('study_information_path')) {{ $errors->first('study_information_path') }} @endif
@if ($errors->has('points_high_correct')) {{ $errors->first('points_high_correct') }} @endif
@if ($errors->has('points_medium_correct')) {{ $errors->first('points_medium_correct') }} @endif
@if ($errors->has('points_under_correct')) {{ $errors->first('points_under_correct') }} @endif
@if ($errors->has('roles')) {{ $errors->first('roles') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif
@endsection @section('scripts') @endsection