cert: put the delete button inside its form
This commit is contained in:
1 parent
8dc96ae08c
commit
288b21a1e4
1 file changed
+3
-3
@@ -2,11 +2,11 @@
|
||||
<? INC Header.tmpl ?>
|
||||
|
||||
<? IF Cert ?>
|
||||
<form id="delete_cert" method="post" action="<? VAR URIPrefix TOP ?><? VAR ModPath ?>delete">
|
||||
<form method="post" action="<? VAR URIPrefix TOP ?><? VAR ModPath ?>delete">
|
||||
<? INC _csrf_check.tmpl ?>
|
||||
<? SETBLOCK DELLINK ?><input type="submit" value="<? FORMAT "here" "TRANSLATORS: this text is inserted into `click here` in the other string"?>" /><? ENDSETBLOCK ?>
|
||||
<p><? FORMAT "You already have a certificate set, use the form below to overwrite the current certificate. Alternatively click {1} to delete your certificate." "DELLINK ESC=" "TRANSLATORS: {1} is `here`, translateable in the other string" ?></p>
|
||||
</form>
|
||||
<? SETBLOCK DELLINK ?><input type="submit" form="delete_cert" value="<? FORMAT "here" "TRANSLATORS: this text is inserted into `click here` in the other string"?>" /><? ENDSETBLOCK ?>
|
||||
<p><? FORMAT "You already have a certificate set, use the form below to overwrite the current certificate. Alternatively click {1} to delete your certificate." "DELLINK ESC=" "TRANSLATORS: {1} is `here`, translateable in the other string" ?></p>
|
||||
<? ELSE ?>
|
||||
<p><? FORMAT "You do not have a certificate yet." ?></p>
|
||||
<? ENDIF ?>
|
||||
|
||||
Reference in new issue
Block a user