from django import forms
from .models import Categoria

class CategoriaForm(forms.ModelForm):
    class Meta:
        model = Categoria
        fields = [
            'nombre'
        ]
        
        labels = {
            'nombre': 'Nombre'
        }

        widgets = {
	        'nombre':forms.TextInput(attrs={'class':'form-control'}),	        
        }