Sjabloon:Related portals: verschil tussen versies

Uit Auditpedia
Ga naar:navigatie, zoeken
Regel 19: Regel 19:
 
<div class="tab-content">
 
<div class="tab-content">
 
<div class="tab-pane active" id="related-portal-view-tab">
 
<div class="tab-pane active" id="related-portal-view-tab">
{{Section title |Title= |Formlink new={{#widget:Button link |href=#related-portal-form-tab |datatoggle=tab |class=btn btn-default |buttontext={{int: ws-edit}} }} }}<!-- end Section title -->
+
{{Section title |Title= |Formlink new={{#widget:Button link |href=#related-portal-form-tab |datatoggle=tab |class=button portal-button|buttontext={{Fa|edit}} }} }}<!-- end Section title -->
  
 
{{#if: {{{Related portal|}}}  
 
{{#if: {{{Related portal|}}}  
Regel 31: Regel 31:
 
<wslabel>Related portal:</wslabel>
 
<wslabel>Related portal:</wslabel>
 
<wsfield type="textarea"  rows="1" class="form-control" name="Related portal" >{{{Related portal|}}}</wsfield>
 
<wsfield type="textarea"  rows="1" class="form-control" name="Related portal" >{{{Related portal|}}}</wsfield>
<div class="text-right mt-3">{{#widget:Button link |href=#related-portal-view-tab |datatoggle=tab |class=button portal-button|buttontext={{Fa|edit}} }}
+
<div class="text-right mt-3">{{#widget:Button link |href=#related-portal-view-tab |datatoggle=tab |class=btn btn-default |buttontext={{int: ws-back}} }}
 
<wsfield type="submit" class="btn btn-primary" value="{{int: ws-save}}" /></div>
 
<wsfield type="submit" class="btn btn-primary" value="{{int: ws-save}}" /></div>
 
</wsform>
 
</wsform>

Versie van 6 dec 2020 19:17

This is the "Related portals" template. It should be called in the following format:

{{Related portals
|Title=
|Related portal=
}}

Edit the page to see the template text.