<commit_before># -*- coding:utf-8 -*-
from django.contrib.auth.forms import AuthenticationForm


class LoginForm(AuthenticationForm):

    def __init__(self, *args, **kwargs):
        super(LoginForm, self).__init__(*args, **kwargs)
        self.fields['username'].widget.attrs = {'placeholder': 'Логин', 'class': 'form-control'}
        self.fields['password'].widget.attrs = {'placeholder': '<PASSWORD>', 'class': 'form-control'}
        self.fields['username'].label = ''
        self.fields['password'].label = ''
<commit_msg>fixed login page<commit_after># -*- coding:utf-8 -*-
from django.contrib.auth.forms import AuthenticationForm


class LoginForm(AuthenticationForm):

    def __init__(self, *args, **kwargs):
        super(LoginForm, self).__init__(*args, **kwargs)
        self.fields['username'].widget.attrs = {'placeholder': 'Email', 'class': 'form-control'}
        self.fields['password'].widget.attrs = {'placeholder': '<PASSWORD>', 'class': 'form-control'}
        self.fields['username'].label = ''
        self.fields['password'].label = ''

{'fraction_non_alphanumeric': 0.18814675446848542, 'fraction_numerical': 0.0018814675446848542, 'mean_word_length': 4.090909090909091, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1917892', 'n_tokens_mistral': 302, 'n_tokens_neox': 299, 'n_words': 56}