<commit_before>from django import forms
from django.forms.widgets import PasswordInput, HiddenInput
from django.utils.translation import ugettext_lazy as _
from corehq.apps.users.models import CouchUser
from corehq.apps.users.util import format_username

class UserForm(forms.Form):
    """
    Form for Users
    """
    #username = forms.CharField(max_length=15)
    first_name = forms.CharField(max_length=50)
    last_name = forms.CharField(max_length=50)
    email = forms.EmailField(label=_("E-mail"), max_length=75)
    is_admin = forms.BooleanField(required=False)
    
    class Meta:
        app_label = 'users'

class CommCareAccountForm(forms.Form):
    """
    Form for CommCareAccounts
    """
    username = forms.CharField(max_length=15)
    password = forms.CharField(widget=PasswordInput())
    password_2 = forms.CharField(widget=PasswordInput())
    domain = forms.CharField(widget=HiddenInput())
    <commit_msg>made reset password form have 'Password (reenter)' instead of 'Password 2' as label<commit_after>from django import forms
from django.forms.widgets import PasswordInput, HiddenInput
from django.utils.translation import ugettext_lazy as _
from corehq.apps.users.models import CouchUser
from corehq.apps.users.util import format_username

class UserForm(forms.Form):
    """
    Form for Users
    """
    #username = forms.CharField(max_length=15)
    first_name = forms.CharField(max_length=50)
    last_name = forms.CharField(max_length=50)
    email = forms.EmailField(label=_("E-mail"), max_length=75)
    is_admin = forms.BooleanField(required=False)
    
    class Meta:
        app_label = 'users'

class CommCareAccountForm(forms.Form):
    """
    Form for CommCareAccounts
    """
    username = forms.CharField(max_length=15)
    password = forms.CharField(widget=PasswordInput())
    password_2 = forms.CharField(label='Password (reenter)', widget=PasswordInput())
    domain = forms.CharField(widget=HiddenInput())
    
{'fraction_non_alphanumeric': 0.10488798370672098, 'fraction_numerical': 0.011710794297352342, 'mean_word_length': 4.383561643835616, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7027417', 'n_tokens_mistral': 611, 'n_tokens_neox': 591, 'n_words': 124}