Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
piks3l
Respect My Net
Commits
c5ec85a6
Commit
c5ec85a6
authored
Apr 30, 2011
by
stef
Browse files
[fix] uploaded files now work
parent
f8e57f39
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/add.html
View file @
c5ec85a6
...
...
@@ -14,7 +14,7 @@
{%block content%}
<h2>
{% trans "New Violation" %}
</h2>
<form
id=
'addForm'
name=
"addForm"
action=
"{% root_url %}/add/"
method=
"post"
>
<form
id=
'addForm'
name=
"addForm"
enctype=
"multipart/form-data"
action=
"{% root_url %}/add/"
method=
"post"
>
{% for field in form %}
{% if field.label = 'Resource' %}
<div
id=
"show_optionals"
>
{% trans "Provide optional details" %}
</div><div
id=
"optional"
>
{%endif%}
<div
class=
"fieldWrapper"
>
...
...
Write
Preview
Supports
Markdown
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