Skip to content

Commit

Permalink
fix(frontend): add help text to story form (#2594)
Browse files Browse the repository at this point in the history
* fix(frontend): add help text to story form

Closes #2364

* chore: source migration

* fix: use meta class overrides instead

* feat: linkify
  • Loading branch information
JacobCoffee authored Sep 20, 2024
1 parent fa18e78 commit 3fa351b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions successstories/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ class Meta:
labels = {
'name': 'Story name',
}
help_texts = {
"content": "Note: Submissions in <a href='https://www.markdownguide.org/basic-syntax/'>Markdown</a> "
"are strongly preferred and can be processed faster.",
}

def clean_name(self):
name = self.cleaned_data.get('name')
Expand Down

0 comments on commit 3fa351b

Please sign in to comment.