관리-도구
편집 파일: general_template.blade.php
<!DOCTYPE html> <html> <head> <title>{{ $content->subject }}</title> <style type="text/css"> .g-container{ padding: 15px 30px; } </style> </head> <body> <div class="g-container"> <!--$content->applicant_name = $user->name;--> <!-- $content->applicant_phone = $user->phone;--> <!-- $content->applicant_email = $user->email;--> <!-- $content->applicant_id = $user->id;--> <!-- $content->job_title = $job->job_title;--> <!-- $content->job_description = $job->job_description;--> <!-- $content->job_post_expiry_date = $job->job_post_expiry_date--> @if(isset($content->body)) {!! xss_clean($content->body) !!} @else <h3>{{ $content->subject }}</h3> @foreach($content->content as $name=>$value) @if($name == 'preferred_companies' || $name == 'skills' || $name == 'discussion_points') <p><b>{{ ucwords( str_replace('_',' ',$name) ) }} : </b> @foreach($value as $val) {{ ucwords($val) }}, @endforeach </p> @else <p><b>{{ ucwords( str_replace('_',' ',$name) )}} :</b> {{$value}}</p> @endif @endforeach <!--{!! xss_clean(json_encode($content->content)) !!} --> @endif </div> </body> </html>