#log/forms.py
# -*- coding: utf-8 -*- 

from django.contrib.auth.forms import AuthenticationForm
from django import forms

class LoginForm(AuthenticationForm):
	username = forms.CharField(label="Username", max_length=30, widget=forms.TextInput(attrs={'class': 'form-control', 'name': 'username', 'placeholder':'Usuario', 'required':''}))
	password = forms.CharField(label="Password", max_length=30, widget=forms.TextInput(attrs={'type':'password','class': 'form-control', 'name': 'password', 'placeholder':'Contraseña', 'required':''}))
		
