From 1636fd706326fe24470f3ce0b05b5331c7f03e48 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sun, 28 Dec 2025 01:47:20 +0000 Subject: [PATCH] enough for now --- core/forms.py | 44 +++++++++++++++++++------------------------- urls.py | 1 - 2 files changed, 19 insertions(+), 26 deletions(-) diff --git a/core/forms.py b/core/forms.py index 4017aaf..6f498ef 100644 --- a/core/forms.py +++ b/core/forms.py @@ -288,31 +288,6 @@ class EntranceLetterForm(ModelForm): class NewProspectForm(forms.Form): - identified_login = forms.BooleanField( - label="Identified login", - required=False, - widget=forms.CheckboxInput(attrs={"onclick": "return false"}) # makes it readonly - ) - who_are_you = forms.CharField( - label="Who are you", - max_length=100, - required=False, - widget=forms.TextInput(attrs={ - "size": 100, - "placeholder": "You are editing this page, who are you ? e.g. 'Becka' or 'Animal '", - "style": "vertical-align: text-top;" - }) - ) - discoverers = forms.CharField( - label="Names of discoverers", - max_length=100, - required=False, - widget=forms.TextInput(attrs={ - "placeholder": "Becka, Bill, Ted", - "size": 20, - "style": "width: 20ch; min-width: 0;" - }) - ) def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) # If the form is bound (POSTed), update the field's value to uppercase @@ -401,6 +376,7 @@ class NewProspectForm(forms.Form): "style": "width: 11ch; min-width: 0;" }) ) + discoverers = forms.CharField( label="Names of discoverers", max_length=100, @@ -411,3 +387,21 @@ class NewProspectForm(forms.Form): "style": "width: 20ch; min-width: 0;" }) ) + + + who_are_you = forms.CharField( + label="Who are you", + max_length=100, + required=False, + widget=forms.TextInput(attrs={ + "size": 100, + "placeholder": "You are editing this page, who are you ? e.g. 'Becka' or 'Animal '", + "style": "width: 100ch; min-width: 0;" + }) + ) + + identified_login = forms.BooleanField( + label="Identified login", + required=False, + widget=forms.CheckboxInput(attrs={"onclick": "return false"}) # makes it readonly + ) \ No newline at end of file diff --git a/urls.py b/urls.py index 3884992..05e6209 100644 --- a/urls.py +++ b/urls.py @@ -1,5 +1,4 @@ from django.conf import settings -from django.conf.urls.static import static from django.contrib import admin from django.contrib.auth.views import PasswordResetView, PasswordResetConfirmView # class-based views