Unify forms for discussions and main target.
Allows previews and uploads in all forms. Also fixes #1730
This commit is contained in:
parent
fbd345ea20
commit
6fc10fa256
7 changed files with 175 additions and 169 deletions
|
@ -1,3 +1,4 @@
|
|||
.js-main-target-form
|
||||
- if can? current_user, :write_note, @project
|
||||
= render "notes/common_form"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue