Prise en charge du mode d'enregistrement anonyme avec mot de passe.
[photoprint.git] / skins / customer_join_template.pt
index 7799f6f..ba4878a 100644 (file)
@@ -2,7 +2,7 @@
   <head>
     <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
   </head>
-  <body metal:fill-slot="main_no_tabs" i18n:domain="realis"
+  <body metal:fill-slot="main_no_tabs" i18n:domain="photoprint"
         tal:omit-tag="">
     <div tal:condition="python:options.get('came_from', '').endswith('/my_cart')"
          tal:define="step_authentication python:True" tal:omit-tag="">
               <input type="password" name="confirm" size="30" tal:attributes="value options/confirm" />
             </td>
           </tr>
-          <tr>
-            <th i18n:translate="">Mail Password?</th>
-            <td>
-              <input type="checkbox" name="send_password" id="cb_send_password"
-                     tal:attributes="checked options/send_password" />
-              <em><label for="cb_send_password" i18n:translate="">Check this box to
-                have the password mailed.</label></em>
-            </td>
-          </tr>
         </tal:case>
         <tr>
           <td colspan="2"><hr/></td>
         </tr>
+        <tr>
+          <td colspan="2" style="text-align:center">
+            <h3>Accès à des images privées</h3>
+            veuillez entrer le code d'accès pour accéder / acheter les images<br/>
+            d'un événement privé couvert par les photographes de notre agence.
+          </td>
+        </tr>
+        <tr>
+          <th>Identifiant collection privée</th>
+          <td>
+            <input type="text" name="collection_id" tal:attributes="value options/collection_id"/>
+          </td>
+        </tr>
+        <tr>
+          <th>Mot de passe associé</th>
+          <td>
+            <input type="password" name="collection_password" tal:attributes="value options/collection_password" />
+          </td>
+        </tr>
+        <tr>
+          <th>Confirmation du mot de passe</th>
+          <td>
+            <input type="password" name="collection_password_confirm" tal:attributes="value options/collection_password_confirm" />
+          </td>
+        </tr>
+        <tr>
+          <td colspan="2"><hr/></td>
+        </tr>
         <tr>
           <td colspan="2" style="text-align:center">
             <h3 i18n:translate="">Billing informations</h3>
             <input type="text" name="phone" tal:attributes="value options/phone"/>
           </td>
         </tr>
-        <tr>
-          <th><br/></th>
-          <td>
-            <input type="checkbox" name="accept_gcs" tal:attributes="checked python:options['accept_gcs']" />
-            <a tal:attributes="href string:$portal_url/cgv" target="_blank" i18n:translate="">I accept general conditions of sales</a>
-          </td>
-        </tr>
         <tr>
           <td>&nbsp;</td>
           <td>