Skip to content

Instantly share code, notes, and snippets.

@beyazitkolemen
Last active August 1, 2017 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beyazitkolemen/6ef46d078a3ccfc2f3b2828d299c75dc to your computer and use it in GitHub Desktop.
Save beyazitkolemen/6ef46d078a3ccfc2f3b2828d299c75dc to your computer and use it in GitHub Desktop.
<div class="row">
<div class="col-sm-offset-3 col-sm-9 col-xs-12">
<ul class="nav nav-pills bar_tabs" role="tablist">
@foreach(config('translatable.locales') as $count => $langs )
<li role="presentation" @if($count == 0) class="active" @endif style="text-transform: uppercase;" ><a href="#{{$langs}}" aria-controls="{{$langs}}" role="tab" data-toggle="tab">{{$langs}}</a></li>
@endforeach
</ul>
</div>
<div class="clearfix"></div>
</div>
<!-- Tab panes -->
<div class="tab-content">
@foreach(config('translatable.locales') as $count => $langs )
<div role="tabpanel" class="tab-pane @if($count == 0) active @endif" id="{{$langs}}">
{!! TranslatableBootForm::text(__('mesaj.ads_titles'),'ads_title')->render($langs) !!}
{!! TranslatableBootForm::textarea(__('mesaj.ads_description'),'ads_description')->attribute('id', 'editor'.$langs)->render($langs) !!}
</div>
@endforeach
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment