구문 분석 오류 : 구문 오류, 예기치 않은 '<'laravel 블레이드 템플릿 선택 목록을 채우기에 오류가
<select name="notificationtype" required class="form-control">
<option value="sms" {{isset($template->type) ? @if($template->type=='sms' "selected=true" @endif : 'sms'}}> {{ 'SMS'}}</option>
<option value="email" {{ isset($template->type) ? @if($template->type=='email' "selected=true" @endif : 'email'}}>{{'Email'}}</option> </select>
가능한 [PHP 구문 분석/구문 오류] 복제본입니다. 어떻게 해결할 수 있습니까?] (https://stackoverflow.com/questions/18050071/php-parse-syntax-errors-and-how-to-solve-them) – BenRoob