@if(count($languages) > 1)
@endif @for($l = 0; $l < count($languages); $l++) @php $lang_id = $languages[$l]->id; $boxlang = NULL; if($button != NULL && $l > 0) $boxlang = isset($button->translats[$lang_id]) ? $button->translats[$lang_id] : NULL; else if($button != NULL) $boxlang = $button; $boxClass = (!$languages[$l]->selected ? " displaynone" : ""); @endphp @if(count($languages) > 1)
@endif
@php echo $form->insertTextInputField("", "buttontitle".($l > 0 ? $lang_id : '')."_".$index, $boxlang != NULL ? trim($boxlang->title) : '', "Call to action", "#666666", false, 0, 0, 255, false, false, "col-sm-12 nopadding_left_right"); @endphp
@php echo $form->insertTextInputField("", "buttonurl".($l > 0 ? $lang_id : '')."_".$index, $boxlang != NULL ? trim($boxlang->url) : '', "URL", "#666666", false, 0, 0, 255, false, false, "col-sm-12 nopadding_left_right"); @endphp
@if(count($languages) > 1)
@endif @endfor