[TASK] Store System Maintenance tokens in data attributes
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Resources / Private / Templates / Environment / MailTest.html
index ce30de7..be4fd3c 100644 (file)
        </li>
 </ul>
 
-<div style="display:none">
-       <div id="t3js-mailTest-token">{mailTestToken}</div>
-</div>
+<div class="t3js-module-content" data-mail-test-token="{mailTestToken}">
+       <div class="t3js-mailTest-output"></div>
 
-<div class="t3js-mailTest-output"></div>
+       <form id="t3js-mailTest-form">
+               <div class="form-group">
+                       <label for="t3-install-checkmail">Email address:</label>
+                       <input
+                               id="t3-install-checkmail"
+                               type="email"
+                               class="t3-install-form-input-text form-control t3js-mailTest-email"
+                               required
+                       />
+               </div>
+               <button
+                       class="btn btn-default"
+                       type="submit"
+               >
+                       Send test mail
+               </button>
+       </form>
 
-<form id="t3js-mailTest-form">
-       <div class="form-group">
-               <label for="t3-install-checkmail">Email address:</label>
-               <input
-                       id="t3-install-checkmail"
-                       type="email"
-                       class="t3-install-form-input-text form-control t3js-mailTest-email"
-                       required
-               />
-       </div>
-       <button
-               class="btn btn-default"
-               type="submit"
-       >
-               Send test mail
-       </button>
-</form>
+</div>