Formular:ARCHIUM FORM hascher object: Unterschied zwischen den Versionen

Aus Denkmalpflege
Wechseln zu:Navigation, Suche
Zeile 29: Zeile 29:
 
     </div>
 
     </div>
 
     <!-- DEFINE FORM FIELDS -->
 
     <!-- DEFINE FORM FIELDS -->
    <!-- define signature input field -->
 
    {{{for template|ARCHIUM_TEMPLATE_hascher_signature|label=Signatur(Objekt)}}}
 
        {{{field|signature
 
            |mandatory
 
            |unique
 
            |input type=combobox
 
            |default={{PAGENAME}}
 
            |placeholder=Pflichteintrag
 
            |cargo table=ARCHIUM_TABLE_hascher_signature
 
            |cargo field=ARCHIUM_PROPERTY_hascher_signature
 
        }}}
 
    {{{end template}}}
 
 
    <!-- define title input field -->
 
    {{{for template|ARCHIUM_TEMPLATE_hascher_title|label=Titel(Objekt)}}}
 
        {{{field|title
 
            |mandatory
 
            |input type=combobox
 
            |default={{PAGENAME}}
 
            |placeholder=Pflichteintrag
 
            |cargo table=ARCHIUM_TABLE_hascher_title
 
            |cargo field=ARCHIUM_PROPERTY_hascher_title
 
        }}}
 
    {{{end template}}}
 
 
 
     <!-- define description input field -->
 
     <!-- define description input field -->
 
     {{{for template|ARCHIUM_TEMPLATE_hascher_description|label=Beschreibung(Objekt)}}}
 
     {{{for template|ARCHIUM_TEMPLATE_hascher_description|label=Beschreibung(Objekt)}}}
Zeile 83: Zeile 58:
 
         }}}
 
         }}}
 
     {{{end template}}}
 
     {{{end template}}}
 
    <!-- define timeframe input fields -->
 
    {{{for template|ARCHIUM_TEMPLATE_hascher_timeframe|label=Zeiten(Objekt)}}}
 
        {{{field|date_from
 
            |input type=date
 
            |default=now
 
        }}}
 
        {{{field|date_until
 
            |input type=date
 
            |default=now
 
        }}}
 
    {{{end template}}}
 
 
 
 
 
 
  
 
     <div class="archium-grid-container-identity">
 
     <div class="archium-grid-container-identity">
Zeile 110: Zeile 68:
 
         <div class="archium-grid-item" style="grid-column: 2">
 
         <div class="archium-grid-item" style="grid-column: 2">
 
             <h4>Signatur:</h4>
 
             <h4>Signatur:</h4>
 +
            <!-- define signature input field -->
 
             {{{for template|ARCHIUM_TEMPLATE_hascher_signature|label=Signatur(Objekt)}}}
 
             {{{for template|ARCHIUM_TEMPLATE_hascher_signature|label=Signatur(Objekt)}}}
 
                 {{{field|signature
 
                 {{{field|signature
Zeile 125: Zeile 84:
 
         <div class="archium-grid-item" style="grid-column 3">
 
         <div class="archium-grid-item" style="grid-column 3">
 
             <h4>Titel:</h4>
 
             <h4>Titel:</h4>
             <p>{{#var:title}}</p>
+
             <!-- define title input field -->
 +
            {{{for template|ARCHIUM_TEMPLATE_hascher_title|label=Titel(Objekt)}}}
 +
                {{{field|title
 +
                    |mandatory
 +
                    |input type=combobox
 +
                    |default={{PAGENAME}}
 +
                    |placeholder=Pflichteintrag
 +
                    |cargo table=ARCHIUM_TABLE_hascher_title
 +
                    |cargo field=ARCHIUM_PROPERTY_hascher_title
 +
                }}}
 +
            {{{end template}}}
 
         </div>
 
         </div>
  
 
         <div class="archium-grid-item" style="grid-column: 1">
 
         <div class="archium-grid-item" style="grid-column: 1">
 
             <h4>Laufzeit:</h4>
 
             <h4>Laufzeit:</h4>
             <p>von: {{#var:date_from}} bis: {{#var:date_until}}</p>
+
             <!-- define timeframe input fields -->
 +
            {{{for template|ARCHIUM_TEMPLATE_hascher_timeframe|label=Zeiten(Objekt)}}}
 +
                {{{field|date_from
 +
                    |input type=date
 +
                    |default=now
 +
                }}}
 +
                {{{field|date_until
 +
                    |input type=date
 +
                    |default=now
 +
                }}}
 +
            {{{end template}}}
 
         </div>
 
         </div>
 
     </div>
 
     </div>
 
 
 
 
 
 
  
 
<!-- WRAP STORE TEMPLATES in div with class ARCHIUM_HIDDEN -->
 
<!-- WRAP STORE TEMPLATES in div with class ARCHIUM_HIDDEN -->

Version vom 10. März 2020, 14:17 Uhr