刀片:
@if ($errors->has('email'))
<span class="help-block"> <strong>
{!! html_entity_decode( $errors->first('email') )!!}</strong> </span>
@endif
控制器:
if($user == null){
return redirect()->back()
->withInput($request->only('email'))
->withErrors(['email' => "This e-mail is not exist in our database. Please <a href='/register'>register</a>"]);
}
我希望在ui中看到可点击的“注册”链接,但是你看到它的原始字符串:
我还尝试了'@'和'{{{}}}'符号,但这些符号都不起作用..