Skip to content

Commit

Permalink
[ADD] Eve time hint in placeholder for formup time
Browse files Browse the repository at this point in the history
See #237
  • Loading branch information
ppfeufer committed Nov 27, 2024
1 parent 6132404 commit 4dc0878
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ Section Order:
### Security
-->

### Added

- Eve time hint in placeholder for formup time (#237)

### Changed

- Autocomplete JS updated
Expand Down
8 changes: 7 additions & 1 deletion fleetpings/form.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,13 @@ class FleetPingForm(forms.Form):
required=False,
label=_("Formup time"),
max_length=254,
widget=forms.TextInput(attrs={"disabled": "disabled", "autocomplete": "off"}),
widget=forms.TextInput(
attrs={
"disabled": "disabled",
"autocomplete": "off",
"placeholder": _("Formup time (Eve time)"),
}
),
help_text=_(
"To enable this field, either make it a pre-ping (checkbox above) or "
'uncheck "Formup NOW" (checkbox below).'
Expand Down

0 comments on commit 4dc0878

Please sign in to comment.