<div class="row row-attribute">
	
	<input type="hidden" name="prices[{{ $key }}][article_attribute][quantity]" value="1">
	<input type="hidden" name="prices[{{ $key }}][article_attribute][id]" value="{{ (isset($attribute['id'])) ? $attribute['id'] : null }}">

	<div class="col-12 col-lg-7">
		{{ Form::label('attribute_family_id', 'Attributs') }}<br/>
		@include('components.form.select', [
			'name' => "prices[$key][attribute][attribute_family_id]", 
			'value' => $attribute['attribute_value']['article_attribute_family_id'] ?? null, 
			'list' => $attribute_families_options, 
			'required' => true, 
			'class' => 'select2 form-control-sm attributes-family'
		])
	</div>

	<div class="col-12 col-lg-5">	
		{{ Form::label('attribute_value_id', 'Valeur') }}<br/>
		@include('components.form.select', [
			'name' => "prices[$key][attribute][attribute_value_id]", 
			'value' => $attribute['article_attribute_value_id'] ?? null, 
			'list' => $attribute_values ?? null, 
			'required' => true, 
			'class' => 'select2 form-control-sm attributes-value w-100', 
			'meta' => (isset($attribute['article_attribute_value_id'])) ? 'data-id="' . $attribute['article_attribute_value_id'] . '"' : ''
		])
	</div>
</div>
