Skip to content

little mistake in the syntax Templates fields radio #32

@DigitalCoder

Description

@DigitalCoder

I've created new crud with radio field and when loading the view I have an error :

Use of undefined constant optin1 - assumed 'optin1' (View:

generated code :
<div class="form-group"> {!! Form::label('radio1', 'optin 1', array('class'=>'col-md-2 control-label')) !!} <div class="col-sm-10"> {!! Form::radio('radio1', optin1, false) !!} </div> </div>

in vendor/laraveldaily/quickadmin/src/Templates/fields/radio

a little mistake in the syntax ?
{!! Form::radio('$LABEL$'$VALUE$, false) !!}

It should be this, non ?
{!! Form::radio('$LABEL$', '$VALUE$', false) !!}

to have : Form::radio('name', 'value', false);

Thx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions