Grüß Euch,
ich komme leider nicht darauf wo der Fehler liegt.
Der betroffene View ist: D:\bitnamixampp\htdocs\calendar\resources\views\ad min\addtocountry.blade.php
In dem Controller wird der View so aufgerufen:
Im blade Template ist es folgende Zeile:
Das Komische daran ist das im Browser alles richtig angezeigt wird.
Danke für Eure Hilfe.
ich komme leider nicht darauf wo der Fehler liegt.
Der betroffene View ist: D:\bitnamixampp\htdocs\calendar\resources\views\ad min\addtocountry.blade.php
In dem Controller wird der View so aufgerufen:
PHP-Code:
/**
* method to load view to add holidays to a country
* @param country id
* @return view
*/
public function addtocountry($id) {
if($this->isadmin() === false ) {
return redirect('login');
}
$country = App\Country::find($id);
return view('admin.addtocountry', [
'country' => $country,
]);
}
HTML-Code:
<span style="">{{ trans('countries.' . $country->name) }}</span>
Danke für Eure Hilfe.
Kommentar