Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Respect My Net
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thomas Lohninger
Respect My Net
Commits
06430137
Commit
06430137
authored
Mar 21, 2016
by
Okhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing the comment form
parent
0bf5a839
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
nnmon/templates/comments/form.html
nnmon/templates/comments/form.html
+21
-0
No files found.
nnmon/templates/comments/form.html
0 → 100644
View file @
06430137
{% load comments i18n %}
{% load bootstrap3 %}
<form
class=
"form"
action=
"{% comment_form_target %}"
method=
"post"
>
{% csrf_token %}
{% if next %}
<div>
<input
type=
"hidden"
name=
"next"
value=
"{{ next }}"
/>
</div>
{% endif %}
{% for field in form %}
{% if field.name == "honeypot" %}
{% bootstrap_field field layout=horizontal form_group_class="honeypot" %}
{% else %}
{% bootstrap_field field layout=horizontal %}
{% endif %}
{% endfor %}
<div
class=
"btn-group"
>
<button
type=
"submit"
name=
"post"
class=
"btn btn-success submit-post"
/>
{% trans "Post" %}
</button>
<button
type=
"submit"
name=
"preview"
class=
"btn btn-default submit-preview"
/>
{% trans "Preview" %}
</button>
</div>
</form>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment