Skip to content

Commit 63e5146

Browse files
committed
Modified: print form option opens in new tab (#269)
1 parent fdf67ef commit 63e5146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libreforms_fastapi/app/templates/read_one_form.html.jinja

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<a class="dropdown-item" id="signLink" onclick="signForm();" href="#">Sign Form</a>
4242
<a class="dropdown-item" id="signLink" onclick="exportForm('json');" href="#">Export as JSON</a>
4343
{# <a class="dropdown-item disabled" id="historyLink" href="#">View Form History</a> #}
44-
<a class="dropdown-item" id="duplicateLink" href="{{ url_for('ui_form_printer_friedly', form_name=form_name, document_id=document_id) }}">Print Form</a>
44+
<a class="dropdown-item" id="duplicateLink" target="_blank" href="{{ url_for('ui_form_printer_friedly', form_name=form_name, document_id=document_id) }}">Print Form</a>
4545
<a class="dropdown-item" id="duplicateLink" href="/ui/form/duplicate/{{ form_name }}/{{ document_id }}">Duplicate Form</a>
4646
<a class="dropdown-item" id="deleteLink" onclick="deleteForm();" href="#">Delete Form</a>
4747
{# <a class="dropdown-item disabled" id="downloadLink" href="#">Download Form</a> #}

0 commit comments

Comments
 (0)