Explorar el Código

Update embeds.blade.php

Larva Tech hace 4 años
padre
commit
27f0800c80
Se han modificado 1 ficheros con 5 adiciones y 3 borrados
  1. 5 3
      resources/views/form/embeds.blade.php

+ 5 - 3
resources/views/form/embeds.blade.php

@@ -1,10 +1,10 @@
-
+@if($label!=false)
 <div class="row">
     <div class="{{$viewClass['label']}}"><h4 class="pull-right">{!! $label !!}</h4></div>
     <div class="{{$viewClass['field']}}"></div>
 </div>
-
 <hr style="margin-top: 0px;">
+@endif
 
 <div id="embed-{{$column}}" class="embed-{{$column}}">
 
@@ -20,4 +20,6 @@
     </div>
 </div>
 
-<hr style="margin-top: 0px;">
+@if($label!=false)
+<hr style="margin-top: 0px;">
+@endif