##// END OF EJS Templates
Tripcode should be delimited by 2 hashes
neko259 -
r1923:916b2d74 default
parent child Browse files
Show More
@@ -68,7 +68,7 b' TAG_MAX_LENGTH = 20'
68 68
69 69 TEXTAREA_ROWS = 4
70 70
71 TRIPCODE_DELIM = '#'
71 TRIPCODE_DELIM = '##'
72 72
73 73 # TODO Maybe this may be converted into the database table?
74 74 MIMETYPE_EXTENSIONS = {
@@ -178,7 +178,7 b' class PostForm(NeboardForm):'
178 178 title = forms.CharField(max_length=TITLE_MAX_LENGTH, required=False,
179 179 label=LABEL_TITLE,
180 180 widget=forms.TextInput(
181 attrs={ATTRIBUTE_PLACEHOLDER: 'title#tripcode'}))
181 attrs={ATTRIBUTE_PLACEHOLDER: 'Title{}tripcode'.format(TRIPCODE_DELIM)}))
182 182 text = forms.CharField(
183 183 widget=FormatPanel(attrs={
184 184 ATTRIBUTE_PLACEHOLDER: TEXT_PLACEHOLDER,
General Comments 0
You need to be logged in to leave comments. Login now