<div class="order">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<h2>Lorem ipsum dolor sit atmet</h2>
</div>
</div>
</div>
<div class="colonki">
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="item">
<p>Morbi venenatis, nulla at accumsan fermentum, risus ligula vehicula justo, a dapibus arcu purus et arcu</p>
</div>
</div>
<div class="col-md-4">
<div class="item">
<p>Morbi venenatis, nulla at accumsan fermentum, risus ligula vehicula justo, a dapibus arcu purus et arcu</p>
</div>
</div>
<div class="col-md-4">
<div class="item">
<p>Morbi venenatis, nulla at accumsan fermentum, risus ligula vehicula justo, a dapibus arcu purus et arcu</p>
</div>
</div>
</div>
<div class="row author">
<div class="col-md-4">
<div class="otziv"></div>
</div>
<div class="col-md-4">
<div class="otziv"></div>
</div>
<div class="col-md-4">
<div class="otziv"></div>
</div>
</div>
</div>
</div>
</div>
.order .author {
padding-top: 10px;
}
<div ng-app="phoneApp">
<div ng-controller="PhoneListCtrl">
<ul>
<h1>{{ title }}</h1>
<br>
<label for="show">Показать скрытые товары</label>
<input type="checkbox" id='show' ng-model='showEmpty' ng-click="showFalse(showEmpty)">
<li ng-repeat="phone in phones" >
<span>{{ phone.name }}</span>
<p>{{ phone.snippet }}</p>
</li>
</ul>
</div>
</div>
var $scope;
var app = angular.module('phoneApp', []);
function PhoneListCtrl($scope) {
$scope.title = 'Телефоны';
phones = [
{'name': 'Nexus S', 'snippet': 'one phone...', 'status': true},
{'name': 'Motorolla XOOM', 'snippet': 'fast phone...', 'status': false}
];
$scope.phones = phones;
$scope.showFalse = function(value) {
if (value) {
results = [];
angular.forEach(phones, function(phone) {
if (!phone.status) results.push(phone);
});
$scope.phones = results;
} else {
$scope.phones = phones;
}
}
}
var ph = $(this).parent().height();
var ch = $(this).next().height();
if (ch > ph) {
$(this).parent().css({
'min-height': ch + 'px'
});
}
'locale' => 'ru'
<div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
<label class="col-md-4 control-label">Имя:</label>
<div class="col-md-6">
<input type="text" class="form-control" name="name" value="{{ old('name') }}">
@if ($errors->has('name'))
<span class="help-block">
<strong>{{ $errors->first('name') }}</strong>
</span>
@endif
</div>
</div>
{!! Form::text('name', null, array('class' => 'form-control input-sm')) !!}
// Правила можешь вынести в функцию в модели
$rules = [
'file' => 'required|mimes:jpg,png,mp4,webm',
];
$validation = Validator::make($request->all(), $rules);
if( $validation->fails() ) {
$errors = $validation->messages()->toJson();
}
return response()->json([ "errors" => $errors ]);