I think i’m going to ask a very stupid question, but couldn’t find ways…
I’ve generated model view and controllers using CRUD
on admin page I need to collect data from Text field and need to submit that.
After the search form I’ve added the line below
<?php CHtml::beginForm(); ?>
<div class="row">
<?php echo CHtml::textField('delimeter', ','); ?>
</div>
<div class="row button">
<?php echo CHtml::submitButton(
'Easy email format'
);
?>
</div>
<?php CHtml::endForm(); ?>
It seems it’s not working. I’ve checked the source and found it is not generating the <form> tag.
Am I missing something?
Any help appreciated.
Thanks