yii2… i want to hide the rating form input from the the active form and let the user rate from the recipe page

Just want the user to make rating for recipe and save in database if any programmer fixing my code . the form is: <?php $form = ActiveForm::begin([‘options’ => [‘enctype’ => ‘multipart/form-data’],]); ?> <?= $form->field($model, ‘name’)->textInput([‘maxlength’ => true]) ?> <div class=”container”> <?= $form->field($model, ‘picture’)->widget(FileInput::classname(),[‘options’ => [‘accept’ =>’image/*’],]) ?> </div> <?= $form->field($model, ‘rating’) ->widget(StarRating::classname(), [ ‘pluginOptions’ =>…

Details

Load a view by clicking in a button CodeIgniter

I’m trying to load a view by clicking <a> with CodeIgniter. below is my code: <a class=’b2′ href='<?echo base_url(‘application/views/create_account’)?>’>CREATE AN ACCOUNT</a> but when I click it, I receive the message : Forbidden You don’t have permission to access this resource. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle…

Details