Sjabloon:Infocard: verschil tussen versies
Uit Auditpedia
Regel 39: | Regel 39: | ||
|2=<wsfield type="number" class="form-control" /> | |2=<wsfield type="number" class="form-control" /> | ||
}} | }} | ||
− | <div class="text-right noprint"><wsfield type="submit" value=" | + | <div class="text-right noprint"><wsfield type="submit" value="save" class="btn btn-primary" /></div> |
</wsform> | </wsform> | ||
}}</div></div> | }}</div></div> | ||
Regel 67: | Regel 67: | ||
<div class="row"> | <div class="row"> | ||
<div class="infocard__heading col-md-9">{{{Title|}}}</div> | <div class="infocard__heading col-md-9">{{{Title|}}}</div> | ||
− | <div class="col-md-3 text-right noprint">{{#widget:Button link |class=btn btn-warning |href=#{{#var:@infocard viewtab id}} |datatoggle=tab |buttontext= | + | <div class="col-md-3 text-right noprint">{{#widget:Button link |class=btn btn-warning |href=#{{#var:@infocard viewtab id}} |datatoggle=tab |buttontext=cancel }}</div> |
</div> | </div> | ||
<hr/> | <hr/> | ||
{{{Formtab content|}}}<!-- | {{{Formtab content|}}}<!-- | ||
--></div></div></includeonly> | --></div></div></includeonly> |
Versie van 4 nov 2020 16:15
This is the Infocard template. It should be called in the following format:
{{Infocard |Title= |Viewtab content= |Formtab content= |Viewtab id= optional, default id "view-tab-nr", where nr is from {{Autoincrement|@infocard-view-nr}} |Formtab id= optional, default id "form-tab-nr", where nr is from {{Autoincrement|@infocard-form-nr}} }}
Example
Example title
Please log in first.