Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
BrickCamp
BrickCamp Website
Commits
323cdc17
Commit
323cdc17
authored
Apr 22, 2019
by
Tobias Buckdahn
Browse files
Removed image upload (not working on server)
parent
06dfef72
Changes
1
Hide whitespace changes
Inline
Side-by-side
pages/20.techs/95.add/form.md
View file @
323cdc17
...
...
@@ -45,17 +45,17 @@ form:
label
:
'
Comment'
placeholder
:
'
Add
details
or
explanation
if
needed.'
type
:
textarea
-
name
:
image
label
:
'
Image'
type
:
file
multiple
:
true
accept
:
-
'
image/*'
destination
:
'
user/data/files'
avoid_overwriting
:
true
validate
:
required
:
false
#
-
#
name: image
#
label: 'Image'
#
type: file
#
multiple: true
#
accept:
#
- 'image/*'
#
destination: 'user/data/files'
#
avoid_overwriting: true
#
validate:
#
required: false
-
id
:
propose_tech_name
name
:
name
...
...
@@ -77,8 +77,8 @@ form:
-
email
:
subject
:
"
[Brick.Camp]
Proposed
Tech
named
\"
{{
form.value.title|e
}}
\"
"
body
:
"
{%
include
'partials/mail/add.html.twig'
%}"
attachments
:
-
image
#
attachments:
#
- image
-
message
:
"
Thanks
for
your
proposal!"
-
reset
:
true
---
...
...
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