Sjabloon:Domein form: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 5: Regel 5:
 
  -->|}}<wsfield type="button" class="btn"  onclick="document.querySelectorAll('#domein-form input:not([type=file]), #domein-form textarea').forEach(function(e){e.value = ' ';e.removeAttribute('disabled')})" >{{fa|plus}}</wsfield></div><!--  
 
  -->|}}<wsfield type="button" class="btn"  onclick="document.querySelectorAll('#domein-form input:not([type=file]), #domein-form textarea').forEach(function(e){e.value = ' ';e.removeAttribute('disabled')})" >{{fa|plus}}</wsfield></div><!--  
 
  --></div><!--  
 
  --></div><!--  
--><wsform  id="domein-form" action="addToWiki"><wscreate mwwrite="{{#replace:{{SERVERNAME}}|.|-}}" mwtemplate="Domein"  />{{#ask:[[Class::Domein]][[Domein::{{SERVERNAME}}]]|?Titel|?Subtitel|?Email|?Intro|?Color|?Links|link=none|format=complexarray|name=@domeininfo}}<div class="row bg-gray mt-4 pt-4 mb-4 pb-4"><!--  
+
--><wsform  id="domein-form" action="addToWiki"><wscreate mwwrite="{{SERVERNAME}}" mwtemplate="Domein"  />{{#ask:[[Class::Domein]][[Domein::{{SERVERNAME}}]]|?Titel|?Subtitel|?Email|?Intro|?Color|?Links|link=none|format=complexarray|name=@domeininfo}}<div class="row bg-gray mt-4 pt-4 mb-4 pb-4"><!--  
 
--><div class="main-wrapper"><!--  
 
--><div class="main-wrapper"><!--  
 
  --><!--  
 
  --><!--  
Regel 13: Regel 13:
 
--><wsfield type="text" name="Subtitel" class="form-control" value="{{#caprint:@domeininfo[0][Subtitel]}}" /><!--  
 
--><wsfield type="text" name="Subtitel" class="form-control" value="{{#caprint:@domeininfo[0][Subtitel]}}" /><!--  
 
   --><div><b>Domein naam</b></div><!--  
 
   --><div><b>Domein naam</b></div><!--  
--><div class="d-flex"><wsfield type="text" name="Domein" class="form-control" value="{{SERVERNAME}}" disabled="disabled" /><wsfield type="button" class="btn"  onclick="this.closest('.d-flex').querySelector('input').removeAttribute('disabled')" >{{fa|lock}}</wsfield></div><!--  
+
--><div class="d-flex"><wsfield type="text" name="Domein" class="form-control" value="{{SERVERNAME}}" /><wsfield type="button" class="btn"  onclick="this.closest('.d-flex').querySelector('input').removeAttribute('disabled')" >{{fa|lock}}</wsfield></div><!--  
 
   --><div><b>Email</b></div><!--  
 
   --><div><b>Email</b></div><!--  
 
--><wsfield type="text" name="Email" class="form-control" value="{{#caprint:@domeininfo[0][E-mail]}}" /><!--  
 
--><wsfield type="text" name="Email" class="form-control" value="{{#caprint:@domeininfo[0][E-mail]}}" /><!--  

Versie van 15 mrt 2021 18:19