Sjabloon:Bericht form: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 12: | Regel 12: | ||
-->{{#widget:editor|html={{{Bericht|}}} }}<!-- | -->{{#widget:editor|html={{{Bericht|}}} }}<!-- | ||
--><wsfield type="textarea" class="form-control mb-4 d-none" name="Bericht" style="min-height:60vh" ></wsfield><!-- | --><wsfield type="textarea" class="form-control mb-4 d-none" name="Bericht" style="min-height:60vh" ></wsfield><!-- | ||
− | --><b>Tags</b><div class="multi-select-wrapper" >{{#arraydefine:@tags|{{#ask:[[Class::Bericht]]|?Tags|format=array|mainlabel=-}} }}{{#arrayunique | + | --><b>Tags</b><div class="multi-select-wrapper" >{{#arraydefine:@tags|{{#ask:[[Class::Bericht]]|?Tags|format=array|mainlabel=-}} }}{{#arrayunique:@tags}}<span class="out">{{#arraymap:{{{Tags|}}}|,|@@@|{{#tag:wsfield|@@@{{#tag:wsfield||type=hidden|name=tags[]|value=@@@}}|type=button|class=btn btn-succes|onclick=this.remove()}}|}}</span>{{#tag:html|<input list="tags" name="browser" id="multi-select2" multiple> |
<datalist id="tags"> | <datalist id="tags"> | ||
− | + | {{#arraymap:{{#arrayprint:@tags}}|,|@@@| | |
− | + | <option value="@@@"> |}} | |
− | |||
− | |||
− | <option value=" | ||
</datalist>}}</div></div><!-- | </datalist>}}</div></div><!-- | ||
--><!-- | --><!-- |
Versie van 18 sep 2020 07:10
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.