@if (($addon_manager['payment_type'] == 'one_time' && \App\Addon::where('type', 'FbLogin_purchase_date')->first()->value != null) || ($addon_manager['payment_type'] == 'per_month' && $data_difference >= 0) || $addon_manager['price'] == 0)
@else
@endif
{{ translate('Facbook login integration data') }}
{!! Form::open(['method' => 'post', 'action' => 'Admin\Addons\FbLoginController@updateFbLoginConf', 'files' => true, 'class' => 'form_to_submit']) !!}
{!! Form::Close() !!}
{!! Form::checkbox('FbLogin_active', null, $newaddons['FbLogin_active'], ['id' => 'Checkbox_1']) !!}
{!! Form::text('FbLogin_id', $newaddons['FbLogin_id'], ['class' => 'form-control', 'placeholder' => translate('ID')]) !!}
{!! Form::text('FbLogin_secret', $newaddons['FbLogin_secret'], ['class' => 'form-control', 'placeholder' => translate('Secret')]) !!}