[TASK] Add preset for mail SMTP settings in install tool
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Resources / Private / Partials / Action / Tool / Configuration / Mail / Custom.html
index 9531c82..b011929 100644 (file)
@@ -7,7 +7,7 @@
                                id="t3-install-tool-configuration-mail-custom"
                                name="install[values][{feature.name}][enable]"
                                value="{preset.name}"
-                               {f:if(condition:'{preset.isActive}', then:'checked="checked"')}
+                               {f:if(condition: preset.isActive, then:'checked="checked"')}
                        />
                        <label
                                for="t3-install-tool-configuration-mail-custom"
                                <strong>
                                        Custom configuration
                                </strong>
-                               {f:if(condition:'{preset.isActive}', then:' [Active]')}
+                               {f:if(condition: preset.isActive, then:' [Active]')}
                        </label>
                </div>
        </div>
        <div class="message-body>">
-               <p>
-                       Custom sendmail command:
-               </p>
-
+               <p>Custom mail settings:</p>
                <f:for each="{preset.configurationValues}" as="configurationValue" key="configurationKey">
                        <div class="form-group">
-                               <label class="col-sm-6 control-label">{configurationKey}</label>
+                               <label class="col-sm-6 control-label" for="{feature.name}{preset.name}{configurationKey}">{configurationKey}</label>
                                <div class="col-sm-6">
                                        <input
-                                               type="input"
+                                               id="{feature.name}{preset.name}{configurationKey}"
+                                               type="text"
                                                name="install[values][{feature.name}][{preset.name}][{configurationKey}]"
                                                value="{configurationValue}"
                                                class="form-control t3js-custom-preset"