Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Tabela dinâmica com colunas...

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Portuguese
View previous topic :: View next topic  
Author Message
juscelinobarao
Smarty n00b


Joined: 27 Jun 2011
Posts: 2

PostPosted: Mon Jun 27, 2011 5:40 pm    Post subject: Tabela dinâmica com colunas... Reply with quote

Pessoal,
Estou com um tremendo problema. Mesmo olhando vários exemplos não consigo montar uma tabela dinâmica com 2 ou 3 colunas.
Veja o que quero:

Meu smarty:

$smarty->assign('s_id_subarea', $s_id_subarea);
$smarty->assign('s_subarea', $s_subarea);
$smarty->assign('a_id_area_profissional', $a_id_area_profissional);
$smarty->assign('a_id_candidato', $a_id_candidato);


Meu html:

{section name=i loop=$s_id_subarea}
<input name="{$s_id_subarea[i]}" type="checkbox" id="{$s_id_subarea[i]}" {if $a_id_candidato[i] <> ''} checked="checked" {/if}> {$s_subarea[i]} <br />
{/section}



Esses códigos estão certinhos, pois me listam as 77 itens do meu BD.

O que preciso:

Que eles fiquem numa tabela de 2 ou 3 colunas para que o tamanho do form diminua consideravelmente.

Alguém pode me ajudar?
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Portuguese All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP