Skip to content

Commit 9f6bb54

Browse files
committed
refactor(series/info.html): move the paragraphs out of a form.
Prerequsite for #1123
1 parent 83c1898 commit 9f6bb54

File tree

1 file changed

+7
-7
lines changed
  • src/main/webapp/WEB-INF/views/series

1 file changed

+7
-7
lines changed

src/main/webapp/WEB-INF/views/series/info.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -440,15 +440,15 @@ <h5 class="text-center" th:text="#{t_similar_series}">
440440
</div>
441441

442442
<div class="col-sm-12" th:if="${isSeriesInCollection}" sec:authorize="hasAuthority('UPDATE_COLLECTION')">
443-
<form id="remove-series-form" method="post" action="../collection/info.html" th:action="@{${INFO_SERIES_PAGE}(id=${series.id})}">
444-
<p th:text="#{t_series_in_collection}">
445-
Series is part of your collection
446-
</p>
447-
<p>
443+
<p th:text="#{t_series_in_collection}">
444+
Series is part of your collection
445+
</p>
446+
<p>
447+
<form id="remove-series-form" method="post" action="../collection/info.html" th:action="@{${INFO_SERIES_PAGE}(id=${series.id})}">
448448
<input type="hidden" name="action" value="REMOVE" />
449449
<input type="submit" class="btn btn-danger" value="Remove from collection" th:value="#{t_remove_from_collection}" />
450-
</p>
451-
</form>
450+
</form>
451+
</p>
452452
</div>
453453

454454
<!--/*/

0 commit comments

Comments
 (0)