Last active
May 30, 2017 20:06
-
-
Save claar/3aacc115a8375bc2b7167088535c9809 to your computer and use it in GitHub Desktop.
Former field help block doesn't render inside blade @section
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<fieldset> | |
<legend>Test 1</legend> | |
<p>I am test 1</p> | |
{!! Former::number('field1')->blockhelp('This is the help for field1.') !!} | |
</fieldset> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head></head> | |
<body> | |
<fieldset> | |
<legend>Test 2</legend> | |
<p>I am test 2</p> | |
{!! Former::vertical_open()->id('milkTrackerSetup') !!} | |
{!! Former::number('field2')->blockhelp('This is the help for field2.') !!} | |
@include('test1') | |
{!! Former::close() !!} | |
</fieldset> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class MilkTrackersController extends App\Http\Controllers\Controller | |
{ | |
public function getIndex() | |
{ | |
return view('test1'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment