Show More
@@ -68,7 +68,7 b' TAG_MAX_LENGTH = 20' | |||||
68 |
|
68 | |||
69 | TEXTAREA_ROWS = 4 |
|
69 | TEXTAREA_ROWS = 4 | |
70 |
|
70 | |||
71 | TRIPCODE_DELIM = '#' |
|
71 | TRIPCODE_DELIM = '##' | |
72 |
|
72 | |||
73 | # TODO Maybe this may be converted into the database table? |
|
73 | # TODO Maybe this may be converted into the database table? | |
74 | MIMETYPE_EXTENSIONS = { |
|
74 | MIMETYPE_EXTENSIONS = { | |
@@ -178,7 +178,7 b' class PostForm(NeboardForm):' | |||||
178 | title = forms.CharField(max_length=TITLE_MAX_LENGTH, required=False, |
|
178 | title = forms.CharField(max_length=TITLE_MAX_LENGTH, required=False, | |
179 | label=LABEL_TITLE, |
|
179 | label=LABEL_TITLE, | |
180 | widget=forms.TextInput( |
|
180 | widget=forms.TextInput( | |
181 |
attrs={ATTRIBUTE_PLACEHOLDER: ' |
|
181 | attrs={ATTRIBUTE_PLACEHOLDER: 'Title{}tripcode'.format(TRIPCODE_DELIM)})) | |
182 | text = forms.CharField( |
|
182 | text = forms.CharField( | |
183 | widget=FormatPanel(attrs={ |
|
183 | widget=FormatPanel(attrs={ | |
184 | ATTRIBUTE_PLACEHOLDER: TEXT_PLACEHOLDER, |
|
184 | ATTRIBUTE_PLACEHOLDER: TEXT_PLACEHOLDER, |
General Comments 0
You need to be logged in to leave comments.
Login now