2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 13:18:15 +00:00

fix bogus check on readonly field

This commit is contained in:
2025-01-28 20:41:06 +00:00
parent 798ffc248e
commit e39760590f
2 changed files with 6 additions and 3 deletions

View File

@@ -553,7 +553,7 @@ class ExpoPageForm(forms.Form):
"style": "vertical-align: text-top;"}
)
)
identified_login = forms.BooleanField(widget=forms.CheckboxInput(attrs={"onclick":"return false"})) # make it readonly
identified_login = forms.BooleanField(required=False,widget=forms.CheckboxInput(attrs={"onclick":"return false"})) # makes it readonly
who_are_you = forms.CharField(
widget=forms.Textarea(

View File

@@ -5,6 +5,8 @@
background-color:#9ff;
text-align:center;
font-weight:bold;
{% if troggle %}font-size:80%; {% endif %}
}
.toolbarlinkslocal
{
@@ -12,6 +14,7 @@
background-color:#f9f;
text-align:center;
font-weight:bold;
{% if troggle %}font-size:80%; {% endif %}
}
</style>
{% if settings.DEVSERVER %}
@@ -42,6 +45,6 @@
<a href="/survexfilewild/{{current_year}}">Wild Survex({{current_year}})</a> |
<a href="/wallets/year/{{current_year}}">Wallets({{current_year}})</a> |
<a href="/expedition/{{current_year}}">Expo({{current_year}})</a> |
<a href="{% url "controlpanel" %}">Control panel</a> |
<a href="{% url "controlpanel" %}">Control panel</a>
</div>