FEATURE: remove @lang() from blade templates when translating enumerations.

Enumerations are translated right after inserting into collection, so there is no need to translate it again.
This commit is contained in:
Michal Kváček
2016-01-27 01:58:57 +01:00
parent ff17e528ae
commit 452280a6fe
2 changed files with 3 additions and 3 deletions
@@ -36,7 +36,7 @@
<select name="role">
@foreach($roles as $role => $translation)
<option value="{{$role}}">@lang($translation)</option>
<option value="{{$role}}">{{$translation}}</option>
@endforeach
</select>
</label>