Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 9c25d68

Browse files
committed
Remove HTML to upload files.
You can add files to description issue by RichTextField
1 parent 20ecbb2 commit 9c25d68

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

views/issue/form.php

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -150,32 +150,6 @@
150150

151151
</div>
152152

153-
<div id="post_upload_progress_<?= $issueForm->id ?>" style="display:none;margin:10px 0px;"></div>
154-
155-
<?=
156-
\humhub\modules\file\widgets\FilePreview::widget([
157-
'id' => 'post_upload_preview_' . $issueForm->id,
158-
'options' => ['style' => 'margin-top:10px'],
159-
'model' => new \tracker\models\Issue,
160-
'edit' => true,
161-
])
162-
?>
163-
164-
<div class="row">
165-
<div class="col-md-12">
166-
<?=
167-
\humhub\modules\file\widgets\UploadButton::widget([
168-
'id' => 'post_upload_' . $issueForm->id,
169-
'model' => new \tracker\models\Issue,
170-
'dropZone' => '#post_edit_' . $issueForm->id . ':parent',
171-
'preview' => '#post_upload_preview_' . $issueForm->id,
172-
'progress' => '#post_upload_progress_' . $issueForm->id,
173-
'max' => Yii::$app->getModule('content')->maxAttachedFiles,
174-
])
175-
?>
176-
</div>
177-
</div>
178-
179153
<?php endif ?>
180154

181155
<div class="row">

0 commit comments

Comments
 (0)