Browse Source

beautify orderform

andre 4 years ago
parent
commit
1f516f3f0f
1 changed files with 22 additions and 7 deletions
  1. 22 7
      templates/configureproduct.tpl

+ 22 - 7
templates/configureproduct.tpl

@@ -274,16 +274,31 @@ var _localLang = {
                             <div class="sub-heading">
                                 <span>{$LANG.orderadditionalrequiredinfo}</span>
                             </div>
-
                             <div class="field-container">
                             <table width="100%" border="0" cellpadding="10" cellspacing="0" class="table table-striped table-framed">
                               <tr>
-                                <td align='left'>{$customfields[0].name}</td>
-                                <td align="left">{$customfields[1].name}</td>
-                              </tr>
-                              <tr>
-                                <td align='left'>Sicherheit</td>
-                                <td align="left">SSL/TLS</td>
+                                <td align='left'>
+                                    <div class="form-group">
+                                        <label for="customfield{$customfields[0].id}">{$customfields[0].name}</label>
+                                        {$customfields[0].input}
+                                        {if $customfields[0].description}
+                                            <span class="field-help-text">
+                                                {$customfields[0].description}
+                                            </span>
+                                        {/if}
+                                    </div>
+                                </td>
+                                <td align='left'>
+                                    <div class="form-group">
+                                        <label for="customfield{$customfields[1].id}">{$customfields[1].name}</label>
+                                        {$customfields[1].input}
+                                        {if $customfields[1].description}
+                                            <span class="field-help-text">
+                                                {$customfields[1].description}
+                                            </span>
+                                        {/if}
+                                    </div>
+                                </td>
                               </tr>
                             </table>
                                 {foreach $customfields as $customfield}