@if ($material)
Modificación de material
@else
Creación de material
@endif
@if ($material)
@csrf @method('PUT')
@else
@csrf
@endif