Mudanças entre as edições de "Form: Editar página"

De WikiAjuda
Ir para: navegação, pesquisa
Linha 43: Linha 43:
 
{{{end template}}}
 
{{{end template}}}
 
{{{for template|New section|multiple}}}
 
{{{for template|New section|multiple}}}
 +
<div class="row">
 +
<div class="col-xl-12 col-xs-12">
 +
<div class="input-group"><span class="input-group-addon">Estilo</span><!--
  
{{{field
+
-->{{{field
 
   |style
 
   |style
 
   |input type=dropdown
 
   |input type=dropdown
   |values=1,2,3,4,5
+
   |values=1,image,3,4,5
 +
  |show on select=image=>image-block;
 
   |class=form-control
 
   |class=form-control
 
}}}
 
}}}
 +
</div>
 +
</div>
 +
</div>
 +
<div class="row">
 +
<div class="col-xl-12 col-xs-12">
 +
<div class="input-group"><span class="input-group-addon">Cabeçalho</span><!--
  
{{{field
+
-->{{{field
 
   |header
 
   |header
 
   |input type=text
 
   |input type=text
 
   |class=form-control
 
   |class=form-control
 
}}}
 
}}}
 +
</div>
 +
</div>
 +
</div>
 +
<div class="row">
 +
<div class="col-xl-12 col-xs-12">
 +
<div class="input-group"><span class="input-group-addon">Texto</span><!--
  
{{{field
+
-->{{{field
 
   |before image
 
   |before image
 
   |input type=textarea
 
   |input type=textarea
   |class=form-control
+
  |editor=wikieditor
 +
   |class=shift
 
}}}
 
}}}
 +
</div>
 +
</div>
 +
</div>
 +
<section id="image-block">
 +
<div class="row">
 +
<div class="col-xl-12 col-xs-12">
 +
<div class="input-group"><span class="input-group-addon">Imágem</span><!--
  
{{{field
+
-->{{{field
 
   |file
 
   |file
 
   |uploadable
 
   |uploadable
 
}}}
 
}}}
 +
</div>
 +
</div>
 +
</div>
 +
<div class="row">
 +
<div class="col-xl-12 col-xs-12">
 +
<div class="input-group"><span class="input-group-addon">Descripción</span><!--
  
{{{field
+
-->{{{field
 
   |image description
 
   |image description
 
   |input type=text
 
   |input type=text
 
   |class=form-control
 
   |class=form-control
 
}}}
 
}}}
 +
</div>
 +
</div>
 +
</div>
 +
<div class="row">
 +
<div class="col-xl-12 col-xs-12">
 +
<div class="input-group"><span class="input-group-addon">Texto (a continuar)</span><!--
  
{{{field
+
-->{{{field
 
   |after image
 
   |after image
 
   |input type=textarea
 
   |input type=textarea
 +
  |editor=wikieditor
 
   |class=form-control
 
   |class=form-control
 
}}}
 
}}}
 
+
</div>
 +
</div>
 +
</div>
 +
</section>
 
{{{end template}}}
 
{{{end template}}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
  
 
</noinclude>
 
</noinclude>

Edição das 07h22min de 15 de maio de 2017