Skip to content

Instantly share code, notes, and snippets.

@ojulianos
Last active March 18, 2019 13:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ojulianos/552b7f0a85dab647cdd18e4c90eade8e to your computer and use it in GitHub Desktop.
Save ojulianos/552b7f0a85dab647cdd18e4c90eade8e to your computer and use it in GitHub Desktop.
<div class="btn-group" data-toggle="buttons">
{{ $academia->matriz == 'S' ? true : false }}
<label class="btn btn-primary {{ $academia->matriz == 'S', ? 'active' : '' }}">
{!! Form::radio('matriz', 'S', $academia->matriz == 'S' ? true : false) !!} Sim
</label>
<label class="btn btn-primary {{ $academia->matriz == 'N', ? 'active' : '' }}">
{!! Form::radio('matriz', 'N' $academia->matriz == 'N', ? true : false) !!} Não
</label>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment