Skip to content

Commit

Permalink
Merge pull request #1224 from gustavi/gustavi_fix_1134
Browse files Browse the repository at this point in the history
Mise en avant des tags lors de la création d'un topic (Issue #1134)
  • Loading branch information
dralliw committed Jul 22, 2014
2 parents 16b962a + b6bcf68 commit 739798b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions zds/forum/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class TopicForm(forms.Form):
max_length=Topic._meta.get_field('title').max_length,
widget=forms.TextInput(
attrs={
'placeholder': '[Tag 1][Tag 2] Titre de mon sujet',
'required': 'required',
}
)
Expand All @@ -35,7 +36,7 @@ class TopicForm(forms.Form):
widget=forms.Textarea(
attrs={
'placeholder': 'Votre message au format Markdown.',
'required': 'required'
'required': 'required',
}
)
)
Expand Down Expand Up @@ -102,7 +103,7 @@ class PostForm(forms.Form):
widget=forms.Textarea(
attrs={
'placeholder': 'Votre message au format Markdown.',
'required': 'required'
'required': 'required',
}
)
)
Expand Down

0 comments on commit 739798b

Please sign in to comment.