<?php $__env->startSection('content'); ?>

    <!-- Form row -->
    <div class="row">
        <div class="col-xl-12 box-margin height-card">
            <div class="card card-body">
                <h4 class="card-title"><?php echo e(__('content.call_to_action')); ?>

                    <div class="btn-group">
                        <button type="button" class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            <?php echo e(__('content.'.$style)); ?>

                        </button>
                        <div class="dropdown-menu">
                            <a class="dropdown-item" href="<?php echo e(route('call-to-action.create', ['style' => 'style1'])); ?>"><?php echo e(__('content.style1')); ?></a>
                            <a class="dropdown-item" href="<?php echo e(route('call-to-action.create', ['style' => 'style2'])); ?>"><?php echo e(__('content.style2')); ?></a>
                            <a class="dropdown-item" href="<?php echo e(route('call-to-action.create', ['style' => 'style3'])); ?>"><?php echo e(__('content.style3')); ?></a>
                        </div>
                    </div>
                    <!-- Button -->
                    <a id="hoverButton" class="iyzi-btn"><i class="fas fa-camera"></i> <?php echo e(__('content.view_draft')); ?></a>
                    <!-- Modal -->
                    <div id="imageModal" class="border border-success iyzi-modal">
                        <img class="img-fluid " src="<?php echo e(asset('uploads/img/dummy/style/call-to-action-'.$style.'.jpg')); ?>" alt="draft image">
                    </div>
                </h4>
                <?php if(isset($call_to_action)): ?>
                    <?php if($demo_mode == "on"): ?>
                        <!-- Include Alert Blade -->
                        <?php echo $__env->make('admin.demo_mode.demo-mode', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    <?php else: ?>
                        <form action="<?php echo e(route('call-to-action.update', $call_to_action->id)); ?>" method="POST" enctype="multipart/form-data">
                            <?php echo method_field('PUT'); ?>
                            <?php echo csrf_field(); ?>
                            <?php endif; ?>

                        <input name="style" type="hidden" value="<?php echo e($style); ?>">

                        <div class="row">
                            <?php if($style == 'style1' || $style == 'style3'): ?>
                                <div class="col-md-12">
                                    <div class="form-group">
                                        <label for="section_image"><?php echo e(__('content.image')); ?> (<?php echo e(__('content.size')); ?>

                                            <?php if($style == 'style1'): ?> 535 x 490) (.svg, .jpg, .jpeg, .png, .webp, .gif)
                                            <?php elseif($style == 'style3'): ?> 420 x 750) (.svg, .jpg, .jpeg, .png, .webp, .gif)
                                            <?php endif; ?>
                                        </label>
                                        <input type="file" name="section_image" class="form-control-file" id="section_image">
                                        <small class="form-text text-muted"><?php echo e(__('content.please_use_recommended_sizes')); ?></small>
                                    </div>
                                    <div class="height-card box-margin">
                                        <div class="card">
                                            <div class="card-body">
                                                <div class="avatar-area text-center">
                                                    <div class="media">
                                                        <?php if(!empty($call_to_action->section_image)): ?>
                                                            <a  class="d-block mx-auto" href="#" data-toggle="tooltip" data-placement="top" data-original-title="<?php echo e(__('content.current_image')); ?>">
                                                                <img src="<?php echo e(asset('uploads/img/call_to_action/'.$call_to_action->section_image)); ?>" alt="image" class="rounded w-25">
                                                            </a>
                                                        <?php else: ?>
                                                            <a class="d-block mx-auto" href="#" data-toggle="tooltip" data-placement="top" data-original-title="<?php echo e(__('content.not_yet_created')); ?>">
                                                                <img src="<?php echo e(asset('uploads/img/dummy/no-image.jpg')); ?>" alt="no image" class="rounded w-25">
                                                            </a>
                                                        <?php endif; ?>
                                                    </div>
                                                    <?php if(!empty($call_to_action->section_image)): ?>
                                                        <a class="mt-3 d-block" href="#" data-toggle="modal" data-target="#deleteImageModal<?php echo e($call_to_action->id); ?>">
                                                            <i class="fa fa-trash text-danger font-18"></i>
                                                        </a>
                                                    <?php endif; ?>
                                                </div>
                                                <!--end card-body-->
                                            </div>
                                        </div>
                                        <!--end card-->
                                    </div>
                                    <!--end col-->
                                </div>
                            <?php endif; ?>
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label for="title"><?php echo e(__('content.title')); ?> </label>
                                    <input type="text" name="title" class="form-control" id="title" value="<?php echo e($call_to_action->title); ?>">
                                    <small class="form-text text-muted"><?php echo e(__('content.recommended_tags')); ?>

                                        <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('a', 'title')"><?php echo e(__('<a href="">')); ?></span>
                                        <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('br', 'title')"><?php echo e(__('<br>')); ?></span>
                                        <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('b', 'title')"><?php echo e(__('<b>')); ?></span>
                                        <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('i', 'title')"><?php echo e(__('<i>')); ?></span>
                                        <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('span', 'title')"><?php echo e(__('<span>')); ?></span>
                                        <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('p', 'title')"><?php echo e(__('<p>')); ?></span>
                                    </small>
                                </div>
                            </div>
                            <?php if($style == 'style1' || $style == 'style3'): ?>
                                <div class="col-md-12">
                                    <div class="form-group">
                                        <label for="description"><?php echo e(__('content.description')); ?></label>
                                        <textarea name="description" class="form-control" id="description" rows="3"><?php echo e($call_to_action->description); ?></textarea>
                                        <small class="form-text text-muted"><?php echo e(__('content.recommended_tags')); ?>

                                            <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('a', 'description')"><?php echo e(__('<a href="">')); ?></span>
                                            <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('br', 'description')"><?php echo e(__('<br>')); ?></span>
                                            <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('b', 'description')"><?php echo e(__('<b>')); ?></span>
                                            <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('i', 'description')"><?php echo e(__('<i>')); ?></span>
                                            <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('span', 'description')"><?php echo e(__('<span>')); ?></span>
                                            <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('p', 'description')"><?php echo e(__('<p>')); ?></span>
                                        </small>
                                    </div>
                                </div>
                            <?php else: ?>
                                <input type="hidden" name="description">
                            <?php endif; ?>
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label for="button_image"><?php echo e(__('content.button_image')); ?> (<?php echo e(__('content.size')); ?> 196 x 62) (.svg, .jpg, .jpeg, .png, .webp)</label>
                                    <input type="file" name="button_image" class="form-control-file" id="button_image">
                                    <small class="form-text text-muted"><?php echo e(__('content.please_use_recommended_sizes')); ?></small>
                                </div>
                                <div class="height-card box-margin">
                                    <div class="card">
                                        <div class="card-body">
                                            <div class="avatar-area text-center">
                                                <div class="media">
                                                    <?php if(!empty($call_to_action->button_image)): ?>
                                                        <a  class="d-block mx-auto" href="#" data-toggle="tooltip" data-placement="top" data-original-title="<?php echo e(__('content.current_image')); ?>">
                                                            <img src="<?php echo e(asset('uploads/img/call_to_action/'.$call_to_action->button_image)); ?>" alt="image" class="rounded w-25">
                                                        </a>
                                                    <?php else: ?>
                                                        <a class="d-block mx-auto" href="#" data-toggle="tooltip" data-placement="top" data-original-title="<?php echo e(__('content.not_yet_created')); ?>">
                                                            <img src="<?php echo e(asset('uploads/img/dummy/no-image.jpg')); ?>" alt="no image" class="rounded w-25">
                                                        </a>
                                                    <?php endif; ?>
                                                </div>
                                                <?php if(!empty($call_to_action->button_image)): ?>
                                                    <a class="mt-3 d-block" href="#" data-toggle="modal" data-target="#deleteImageModal2<?php echo e($call_to_action->id); ?>">
                                                        <i class="fa fa-trash text-danger font-18"></i>
                                                    </a>
                                                <?php endif; ?>
                                            </div>
                                            <!--end card-body-->
                                        </div>
                                    </div>
                                    <!--end card-->
                                </div>
                                <!--end col-->
                            </div>
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label for="button_image_url"><?php echo e(__('content.button_image_url')); ?> </label>
                                    <input type="text" name="button_image_url" class="form-control" id="button_image_url" value="<?php echo e($call_to_action->button_image_url); ?>">
                                </div>
                            </div>
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label for="button_image_2"><?php echo e(__('content.button_image')); ?> (<?php echo e(__('content.size')); ?> 196 x 62) (.svg, .jpg, .jpeg, .png, .webp)</label>
                                    <input type="file" name="button_image_2" class="form-control-file" id="button_image_2">
                                    <small class="form-text text-muted"><?php echo e(__('content.please_use_recommended_sizes')); ?></small>
                                </div>
                                <div class="height-card box-margin">
                                    <div class="card">
                                        <div class="card-body">
                                            <div class="avatar-area text-center">
                                                <div class="media">
                                                    <?php if(!empty($call_to_action->button_image_2)): ?>
                                                        <a  class="d-block mx-auto" href="#" data-toggle="tooltip" data-placement="top" data-original-title="<?php echo e(__('content.current_image')); ?>">
                                                            <img src="<?php echo e(asset('uploads/img/call_to_action/'.$call_to_action->button_image_2)); ?>" alt="image" class="rounded w-25">
                                                        </a>
                                                    <?php else: ?>
                                                        <a class="d-block mx-auto" href="#" data-toggle="tooltip" data-placement="top" data-original-title="<?php echo e(__('content.not_yet_created')); ?>">
                                                            <img src="<?php echo e(asset('uploads/img/dummy/no-image.jpg')); ?>" alt="no image" class="rounded w-25">
                                                        </a>
                                                    <?php endif; ?>
                                                </div>
                                                <?php if(!empty($call_to_action->button_image_2)): ?>
                                                    <a class="mt-3 d-block" href="#" data-toggle="modal" data-target="#deleteImageModal3<?php echo e($call_to_action->id); ?>">
                                                        <i class="fa fa-trash text-danger font-18"></i>
                                                    </a>
                                                <?php endif; ?>
                                            </div>
                                            <!--end card-body-->
                                        </div>
                                    </div>
                                    <!--end card-->
                                </div>
                                <!--end col-->
                            </div>
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label for="button_image_url_2"><?php echo e(__('content.button_image_url_2')); ?> </label>
                                    <input type="text" name="button_image_url_2" class="form-control" id="button_image_url_2" value="<?php echo e($call_to_action->button_image_url_2); ?>">
                                </div>
                            </div>
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label for="button_image_3"><?php echo e(__('content.button_image')); ?> (<?php echo e(__('content.size')); ?> 196 x 62) (.svg, .jpg, .jpeg, .png, .webp)</label>
                                    <input type="file" name="button_image_3" class="form-control-file" id="button_image_3">
                                    <small class="form-text text-muted"><?php echo e(__('content.please_use_recommended_sizes')); ?></small>
                                </div>
                                <div class="height-card box-margin">
                                    <div class="card">
                                        <div class="card-body">
                                            <div class="avatar-area text-center">
                                                <div class="media">
                                                    <?php if(!empty($call_to_action->button_image_3)): ?>
                                                        <a  class="d-block mx-auto" href="#" data-toggle="tooltip" data-placement="top" data-original-title="<?php echo e(__('content.current_image')); ?>">
                                                            <img src="<?php echo e(asset('uploads/img/call_to_action/'.$call_to_action->button_image_3)); ?>" alt="image" class="rounded w-25">
                                                        </a>
                                                    <?php else: ?>
                                                        <a class="d-block mx-auto" href="#" data-toggle="tooltip" data-placement="top" data-original-title="<?php echo e(__('content.not_yet_created')); ?>">
                                                            <img src="<?php echo e(asset('uploads/img/dummy/no-image.jpg')); ?>" alt="no image" class="rounded w-25">
                                                        </a>
                                                    <?php endif; ?>
                                                </div>
                                                <?php if(!empty($call_to_action->button_image_3)): ?>
                                                    <a class="mt-3 d-block" href="#" data-toggle="modal" data-target="#deleteImageModal4<?php echo e($call_to_action->id); ?>">
                                                        <i class="fa fa-trash text-danger font-18"></i>
                                                    </a>
                                                <?php endif; ?>
                                            </div>
                                            <!--end card-body-->
                                        </div>
                                    </div>
                                    <!--end card-->
                                </div>
                                <!--end col-->
                            </div>
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label for="button_image_url_3"><?php echo e(__('content.button_image_url_3')); ?> </label>
                                    <input type="text" name="button_image_url_3" class="form-control" id="button_image_url_3" value="<?php echo e($call_to_action->button_image_url_3); ?>">
                                </div>
                            </div>
                            <div class="col-md-12">
                                <button type="submit" class="btn btn-primary mr-2"><?php echo e(__('content.submit')); ?></button>
                                <a href="#" class="btn btn-primary" data-toggle="modal" data-target="#ctaSectionDestroyModal<?php echo e($call_to_action->id); ?>">
                                    <i class="fa fa-trash"></i> <?php echo e(__('content.reset')); ?>

                                </a>
                            </div>
                        </div>
                    </form>

                    <!-- Modal -->
                    <div class="modal fade" id="deleteImageModal<?php echo e($call_to_action->id); ?>" tabindex="-1" role="dialog" aria-labelledby="messageModalCenterTitle" aria-hidden="true">
                        <div class="modal-dialog modal-dialog-centered modal-sm" role="document">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <h5 class="modal-title" id="messageModalCenterTitle"><?php echo e(__('content.delete')); ?></h5>
                                    <button type="button" class="close" data-dismiss="modal" aria-label="<?php echo e(__('content.close')); ?>">
                                        <span aria-hidden="true">&times;</span>
                                    </button>
                                </div>
                                <div class="modal-body text-center">
                                    <?php echo e(__('content.you_wont_be_able_to_revert_this')); ?>

                                </div>
                                <div class="modal-footer">
                                    <?php if($demo_mode == "on"): ?>
                                        <!-- Include Alert Blade -->
                                        <?php echo $__env->make('admin.demo_mode.demo-mode', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                    <?php else: ?>
                                        <form class="d-inline-block" action="<?php echo e(route('call-to-action.destroy_image', $call_to_action->id)); ?>" method="POST">
                                            <?php echo method_field('DELETE'); ?>
                                            <?php echo csrf_field(); ?>
                                            <?php endif; ?>

                                        <button type="button" class="btn btn-danger" data-dismiss="modal"><?php echo e(__('content.cancel')); ?></button>
                                        <button type="submit" class="btn btn-success"><?php echo e(__('content.yes_delete_it')); ?></button>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- Modal -->
                    <div class="modal fade" id="deleteImageModal2<?php echo e($call_to_action->id); ?>" tabindex="-1" role="dialog" aria-labelledby="messageModalCenterTitle" aria-hidden="true">
                        <div class="modal-dialog modal-dialog-centered modal-sm" role="document">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <h5 class="modal-title" id="messageModalCenterTitle"><?php echo e(__('content.delete')); ?></h5>
                                    <button type="button" class="close" data-dismiss="modal" aria-label="<?php echo e(__('content.close')); ?>">
                                        <span aria-hidden="true">&times;</span>
                                    </button>
                                </div>
                                <div class="modal-body text-center">
                                    <?php echo e(__('content.you_wont_be_able_to_revert_this')); ?>

                                </div>
                                <div class="modal-footer">
                                    <?php if($demo_mode == "on"): ?>
                                        <!-- Include Alert Blade -->
                                        <?php echo $__env->make('admin.demo_mode.demo-mode', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                    <?php else: ?>
                                        <form class="d-inline-block" action="<?php echo e(route('call-to-action.destroy_image_2', $call_to_action->id)); ?>" method="POST">
                                            <?php echo method_field('DELETE'); ?>
                                            <?php echo csrf_field(); ?>
                                            <?php endif; ?>

                                        <button type="button" class="btn btn-danger" data-dismiss="modal"><?php echo e(__('content.cancel')); ?></button>
                                        <button type="submit" class="btn btn-success"><?php echo e(__('content.yes_delete_it')); ?></button>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- Modal -->
                    <div class="modal fade" id="deleteImageModal3<?php echo e($call_to_action->id); ?>" tabindex="-1" role="dialog" aria-labelledby="messageModalCenterTitle" aria-hidden="true">
                        <div class="modal-dialog modal-dialog-centered modal-sm" role="document">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <h5 class="modal-title" id="messageModalCenterTitle"><?php echo e(__('content.delete')); ?></h5>
                                    <button type="button" class="close" data-dismiss="modal" aria-label="<?php echo e(__('content.close')); ?>">
                                        <span aria-hidden="true">&times;</span>
                                    </button>
                                </div>
                                <div class="modal-body text-center">
                                    <?php echo e(__('content.you_wont_be_able_to_revert_this')); ?>

                                </div>
                                <div class="modal-footer">
                                    <?php if($demo_mode == "on"): ?>
                                        <!-- Include Alert Blade -->
                                        <?php echo $__env->make('admin.demo_mode.demo-mode', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                    <?php else: ?>
                                        <form class="d-inline-block" action="<?php echo e(route('call-to-action.destroy_image_3', $call_to_action->id)); ?>" method="POST">
                                            <?php echo method_field('DELETE'); ?>
                                            <?php echo csrf_field(); ?>
                                            <?php endif; ?>

                                        <button type="button" class="btn btn-danger" data-dismiss="modal"><?php echo e(__('content.cancel')); ?></button>
                                        <button type="submit" class="btn btn-success"><?php echo e(__('content.yes_delete_it')); ?></button>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- Modal -->
                    <div class="modal fade" id="deleteImageModal4<?php echo e($call_to_action->id); ?>" tabindex="-1" role="dialog" aria-labelledby="messageModalCenterTitle" aria-hidden="true">
                        <div class="modal-dialog modal-dialog-centered modal-sm" role="document">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <h5 class="modal-title" id="messageModalCenterTitle"><?php echo e(__('content.delete')); ?></h5>
                                    <button type="button" class="close" data-dismiss="modal" aria-label="<?php echo e(__('content.close')); ?>">
                                        <span aria-hidden="true">&times;</span>
                                    </button>
                                </div>
                                <div class="modal-body text-center">
                                    <?php echo e(__('content.you_wont_be_able_to_revert_this')); ?>

                                </div>
                                <div class="modal-footer">
                                    <?php if($demo_mode == "on"): ?>
                                        <!-- Include Alert Blade -->
                                        <?php echo $__env->make('admin.demo_mode.demo-mode', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                    <?php else: ?>
                                        <form class="d-inline-block" action="<?php echo e(route('call-to-action.destroy_image_4', $call_to_action->id)); ?>" method="POST">
                                            <?php echo method_field('DELETE'); ?>
                                            <?php echo csrf_field(); ?>
                                            <?php endif; ?>

                                        <button type="button" class="btn btn-danger" data-dismiss="modal"><?php echo e(__('content.cancel')); ?></button>
                                        <button type="submit" class="btn btn-success"><?php echo e(__('content.yes_delete_it')); ?></button>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- Modal -->
                    <div class="modal fade" id="ctaSectionDestroyModal<?php echo e($call_to_action->id); ?>" tabindex="-1" role="dialog" aria-labelledby="ctaSectionDestroyModalCenterTitle" aria-hidden="true">
                        <div class="modal-dialog modal-dialog-centered modal-sm" role="document">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <h5 class="modal-title" id="ctaSectionDestroyModalCenterTitle"><?php echo e(__('content.delete')); ?></h5>
                                    <button type="button" class="close" data-dismiss="modal" aria-label="<?php echo e(__('content.close')); ?>">
                                        <span aria-hidden="true">&times;</span>
                                    </button>
                                </div>
                                <div class="modal-body text-center">
                                    <?php echo e(__('content.you_wont_be_able_to_revert_this')); ?>

                                </div>
                                <div class="modal-footer">
                                    <?php if($demo_mode == "on"): ?>
                                        <!-- Include Alert Blade -->
                                        <?php echo $__env->make('admin.demo_mode.demo-mode', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                    <?php else: ?>
                                        <form class="d-inline-block" action="<?php echo e(route('call-to-action.destroy', $call_to_action->id)); ?>" method="POST">
                                            <?php echo method_field('DELETE'); ?>
                                            <?php echo csrf_field(); ?>
                                            <?php endif; ?>

                                        <button type="button" class="btn btn-danger" data-dismiss="modal"><?php echo e(__('content.cancel')); ?></button>
                                        <button type="submit" class="btn btn-success"><?php echo e(__('content.yes_delete_it')); ?></button>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>

                <?php else: ?>
                            <?php if($demo_mode == "on"): ?>
                                <!-- Include Alert Blade -->
                                <?php echo $__env->make('admin.demo_mode.demo-mode', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                            <?php else: ?>
                                <form action="<?php echo e(route('call-to-action.store')); ?>" method="POST" enctype="multipart/form-data">
                                    <?php echo csrf_field(); ?>
                                    <?php endif; ?>

                        <input name="style" type="hidden" value="<?php echo e($style); ?>">

                        <div class="row">
                            <?php if($style == 'style1' || $style == 'style3'): ?>
                                <div class="col-md-12">
                                    <div class="form-group">
                                        <label for="section_image"><?php echo e(__('content.image')); ?> (<?php echo e(__('content.size')); ?>

                                            <?php if($style == 'style1'): ?> 535 x 490) (.svg, .jpg, .jpeg, .png, .webp, .gif)
                                            <?php elseif($style == 'style3'): ?> 420 x 750) (.svg, .jpg, .jpeg, .png, .webp, .gif)
                                            <?php endif; ?>
                                        </label>
                                        <input type="file" name="section_image" class="form-control-file" id="section_image">
                                        <small class="form-text text-muted"><?php echo e(__('content.please_use_recommended_sizes')); ?></small>
                                    </div>
                                </div>

                            <?php endif; ?>
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label for="title"><?php echo e(__('content.title')); ?> </label>
                                    <input type="text" name="title" class="form-control" id="title">
                                    <small class="form-text text-muted"><?php echo e(__('content.recommended_tags')); ?>

                                        <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('a', 'title')"><?php echo e(__('<a href="">')); ?></span>
                                        <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('br', 'title')"><?php echo e(__('<br>')); ?></span>
                                        <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('b', 'title')"><?php echo e(__('<b>')); ?></span>
                                        <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('i', 'title')"><?php echo e(__('<i>')); ?></span>
                                        <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('span', 'title')"><?php echo e(__('<span>')); ?></span>
                                        <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('p', 'title')"><?php echo e(__('<p>')); ?></span>
                                    </small>
                                </div>
                            </div>
                            <?php if($style == 'style1' || $style == 'style3'): ?>
                                <div class="col-md-12">
                                    <div class="form-group">
                                        <label for="description"><?php echo e(__('content.description')); ?></label>
                                        <textarea name="description" class="form-control" id="description" rows="3"></textarea>
                                        <small class="form-text text-muted"><?php echo e(__('content.recommended_tags')); ?>

                                            <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('a', 'description')"><?php echo e(__('<a href="">')); ?></span>
                                            <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('br', 'description')"><?php echo e(__('<br>')); ?></span>
                                            <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('b', 'description')"><?php echo e(__('<b>')); ?></span>
                                            <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('i', 'description')"><?php echo e(__('<i>')); ?></span>
                                            <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('span', 'description')"><?php echo e(__('<span>')); ?></span>
                                            <span class="text-danger font-weight-bold custom-tag mr-1" onclick="insertTag('p', 'description')"><?php echo e(__('<p>')); ?></span>
                                        </small>
                                    </div>
                                </div>
                            <?php else: ?>
                                <input type="hidden" name="description">
                            <?php endif; ?>
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label for="button_image"><?php echo e(__('content.button_image')); ?> (<?php echo e(__('content.size')); ?> 196 x 62) (.svg, .jpg, .jpeg, .png, .webp)</label>
                                    <input type="file" name="button_image" class="form-control-file" id="button_image">
                                    <small class="form-text text-muted"><?php echo e(__('content.please_use_recommended_sizes')); ?></small>
                                </div>
                            </div>
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label for="button_image_url"><?php echo e(__('content.button_image_url')); ?> </label>
                                    <input type="text" name="button_image_url" class="form-control" id="button_image_url">
                                </div>
                            </div>
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label for="button_image_2"><?php echo e(__('content.button_image')); ?> (<?php echo e(__('content.size')); ?> 196 x 62) (.svg, .jpg, .jpeg, .png, .webp)</label>
                                    <input type="file" name="button_image_2" class="form-control-file" id="button_image_2">
                                    <small class="form-text text-muted"><?php echo e(__('content.please_use_recommended_sizes')); ?></small>
                                </div>
                            </div>
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label for="button_image_url_2"><?php echo e(__('content.button_image_url_2')); ?> </label>
                                    <input type="text" name="button_image_url_2" class="form-control" id="button_image_url_2">
                                </div>
                            </div>
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label for="button_image_3"><?php echo e(__('content.button_image')); ?> (<?php echo e(__('content.size')); ?> 196 x 62) (.svg, .jpg, .jpeg, .png, .webp)</label>
                                    <input type="file" name="button_image_3" class="form-control-file" id="button_image_3">
                                    <small class="form-text text-muted"><?php echo e(__('content.please_use_recommended_sizes')); ?></small>
                                </div>
                            </div>
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label for="button_image_url_3"><?php echo e(__('content.button_image_url_3')); ?> </label>
                                    <input type="text" name="button_image_url_3" class="form-control" id="button_image_url_3">
                                </div>
                            </div>
                            <div class="col-md-12">
                                <button type="submit" class="btn btn-primary mr-2"><?php echo e(__('content.submit')); ?></button>
                            </div>
                        </div>
                    </form>
                <?php endif; ?>
            </div>
        </div>
    </div>
    <!-- end row -->


<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/lltrusti/ajayfiresafety/resources/views/admin/sections/call_to_action/create.blade.php ENDPATH**/ ?>