Sjabloon:Bericht form: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 8: | Regel 8: | ||
--><div class="col-md-8 "><!-- | --><div class="col-md-8 "><!-- | ||
--> <div class="mt-4"><b>Titel</b></div><!-- | --> <div class="mt-4"><b>Titel</b></div><!-- | ||
− | --><wsfield type="text" class="form-control" name="Titel" /><!-- | + | --><wsfield type="text" class="form-control" name="Titel" value="{{{Title|}}}"/><!-- |
--><div class="mt-4"><b>Bericht</b></div><!-- | --><div class="mt-4"><b>Bericht</b></div><!-- | ||
− | --><wsfield type="textarea" class="form-control mb-4" name="Bericht" style="min-height:60vh" /><!-- | + | --><wsfield type="textarea" class="form-control mb-4" name="Bericht" style="min-height:60vh" >{{{Bericht|}}}</wsfield><!-- |
--></div><!-- | --></div><!-- | ||
--><div class="col-md-4"><!-- | --><div class="col-md-4"><!-- | ||
− | --><wsfield type="text" name="Domein" value="{{SERVERNAME}}" placeholder="domein" class="form-control d-none" /><!-- | + | --><wsfield type="text" name="Domein" value="{{#if:{{{Domein|}}}|{{{Domein|}}}|{{SERVERNAME}}}}" placeholder="domein" class="form-control d-none" /><!-- |
--> <div class="mt-4"><b>Auteur</b></div><!-- | --> <div class="mt-4"><b>Auteur</b></div><!-- | ||
− | --><wsfield type="text" class="form-control" name="Auteur" /><!-- | + | --><wsfield type="text" class="form-control" name="Auteur" value="{{#if:{{{Auteur|}}}|{{{Auteur|}}}|{{CURRENTLOGGEDUSER}}}}" /><!-- |
--> <div class="mt-4"><b>Datum</b></div><!-- | --> <div class="mt-4"><b>Datum</b></div><!-- | ||
− | --><wsfield type="date" class="form-control" name="Datum" /><!-- | + | --><wsfield type="date" class="form-control" name="Datum" value="{{#if:{{{Datum|}}}|{{#time:d-m-Y|{{{Datum|}}}}}|{{#time:d-m-Y|Now}}}}" /><!-- |
--> <div class="mt-4"><b>Afbeeldingen en aanvullende informatie</b></div><!-- | --> <div class="mt-4"><b>Afbeeldingen en aanvullende informatie</b></div><!-- |
Versie van 19 aug 2020 14:12
Nieuw bericht maken
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montesPlease log in first.