You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							33 lines
						
					
					
						
							808 B
						
					
					
				
			
		
		
	
	
							33 lines
						
					
					
						
							808 B
						
					
					
				| <?php | |
|  | |
| use yii\widgets\ActiveForm; | |
|  | |
| /** | |
|  * @var $this \yii\web\View | |
|  * @var $searchForm \common\modules\shop\forms\search\ShopSearchForm | |
|  */ | |
| ?> | |
|  | |
|     <?php $form = ActiveForm::begin([ | |
|         'action' => ['/shop/catalog/search'], | |
|         'method' => 'get', | |
|     ]) ?> | |
|  | |
|     <div class="input-group"> | |
|         <?= $form->field($searchForm, 'text', [ | |
|             'template' => '{input}', | |
|             'options' => [ | |
|                 'tag' => null, // Don't wrap with "form-group" div | |
|             ], | |
|         ])->textInput([ | |
|             'class' => 'form-control', | |
|             'id' => 'search-field', | |
|         ])->label(false) ?> | |
|         <span class="input-group-btn"> | |
|             <button class="btn btn-blue"><?= Yii::t('shop_public', 'Search') ?></button>> | |
|         </span> | |
|     </div> | |
|  | |
|  | |
|     <?php ActiveForm::end() ?> | |
| 
 | |
| 
 |