Skip to content

Commit

Permalink
Merge pull request #9 from grossvogel/php7-compat
Browse files Browse the repository at this point in the history
Bracket indirect variable access to force precedence in form generation
  • Loading branch information
phirschybar committed Jun 6, 2017
2 parents e32e8e5 + 41a9d53 commit 28faf16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/layouts/form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
<span class="input-group-addon"><span class="{!! $with_prepend_icon !!}"></span></span>
@endif

{!! Form::$element_info['type']($element_name, $default_value, $attributes) !!}
{!! Form::{$element_info['type']}($element_name, $default_value, $attributes) !!}

@if ($with_append)
<span class="input-group-addon">{!! $element_info['append'] !!}</span>
Expand Down Expand Up @@ -333,4 +333,4 @@

</div>

@stop
@stop

0 comments on commit 28faf16

Please sign in to comment.