2 column contact form
Posted: Sun May 04, 2014 10:05 am
Hi,
I need 2 column contact form, that is 2 blocks and have no idea how to write in the template so it works. I am completely new to this cms and there's a huge lack of documentation and information.
I need items with a particular css class to be aligned on the right and the rest on the left. By default the input and label are wrapped in a div. How to access that div's class? I have tried something like this but it didn't help much.
[code]{if $entry->css_class=='formgroup-right'}
<div class="right-side">
.............
</div>
{/if}[/code]
I need 2 column contact form, that is 2 blocks and have no idea how to write in the template so it works. I am completely new to this cms and there's a huge lack of documentation and information.
I need items with a particular css class to be aligned on the right and the rest on the left. By default the input and label are wrapped in a div. How to access that div's class? I have tried something like this but it didn't help much.
[code]{if $entry->css_class=='formgroup-right'}
<div class="right-side">
.............
</div>
{/if}[/code]