Hi all, here is the problem
<?= Tag::form(array(
"my/url",
'method'=>'post',
'id'=>'some-form'
)) ?>
<?= Tag::form(array(
$this->url->get('my/url'),
'method'=>'post',
'id'=>'some-form'
)) ?>
this code always adds slash as first character. I've tried to remove url at all or use $this->url->get() to generate url - and it still adds slash to the start of the string.
<form action="/my/url" id="some-form" method="post">
Also, the following code
<?= Tag::form(array(
"",
'method'=>'post',
'id'=>'some-form'
)) ?>
also generates html like
<form action="/" id="some-form" method="post">