8000 Proposal: add a dl method to HtmlBuilder by devinfd · Pull Request #7 · LaravelCollective/html · GitHub
[go: up one dir, main page]

Skip to content

Proposal: add a dl method to HtmlBuilder #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 19, 2015
Merged

Proposal: add a dl method to HtmlBuilder #7

merged 2 commits into from
Feb 19, 2015

Conversation

devinfd
Copy link
Contributor
@devinfd devinfd commented Feb 18, 2015

Method generates a description list of items.

Method generates a description list of items.
@devinfd
Copy link
Contributor Author
devinfd commented Feb 18, 2015

PS: thanks for maintaining the html/form classes and keeping them alive

@adamgoose
Copy link
Member

Can you please use tabs instead of spaces?

@devinfd
Copy link
Contributor Author
devinfd commented Feb 18, 2015

ok

RobinMalfait added a commit that referenced this pull request Feb 19, 2015
Proposal: add a dl method to HtmlBuilder
@RobinMalfait RobinMalfait merged commit d6157b7 into LaravelCollective:5.0 Feb 19, 2015
@devinfd
Copy link
Contributor Author
devinfd commented Feb 20, 2015

Thanks for merging this in. However now that I am looking at it I see that the attributes argument uses [] as the default array as apposed to array() like everything else. Perhaps that should be changed for consistency?

@JosephSilber
Copy link
Contributor

@devinfd since this package requires 5.4, everything else should be changed to the short array syntax, just like Laravel 5.

Speaking of consistency, why is the test file indented with spaces?

@devinfd
Copy link
Contributor Author
devinfd commented Feb 20, 2015

Your right about the 5.4 thing. I forgot about that. As for the test file I would have preferred tabs but I was trying to keep the tests consistent with the form builder test file. Personally I would like to make them both tabs and add more tests to the html builder test file but I didn't want to bumbard you with changes.

jcanchor pushed a commit to jcanchor/html that referenced this pull request Apr 28, 2023
FIxed a bug when using csrf on latest Laravel 5 build.

```
[2014-10-16 14:27:25] production.ERROR: exception 'Illuminate\Session\TokenMismatchException' in /Users/crynobone/Sites/sandbox/app/Http/Middleware/CsrfMiddleware.php:24
Stack trace:
#0 /Users/crynobone/Sites/sandbox/vendor/laravel/framework/src/Illuminate/Routing/Stack/Stack.php(73): App\Http\Middleware\CsrfMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
LaravelCollective#1 /Users/crynobone/Sites/sandbox/vendor/laravel/framework/src/Illuminate/View/Middleware/ErrorBinder.php(55): Illuminate\Routing\Stack\Stack->Illuminate\Routing\Stack\{closure}(Object(Illuminate\Http\Request))
LaravelCollective#2 /Users/crynobone/Sites/sandbox/vendor/laravel/framework/src/Illuminate/Routing/Stack/Stack.php(73): Illuminate\View\Middleware\ErrorBinder->handle(Object(Illuminate\Http\Request), Object(Closure))
LaravelCollective#3 /Users/crynobone/Sites/sandbox/storage/framework/compiled.php(8884): Illuminate\Routing\Stack\Stack->Illuminate\Routing\Stack\{closure}(Object(Illuminate\Http\Request))
LaravelCollective#4 /Users/crynobone/Sites/sandbox/vendor/laravel/framework/src/Illuminate/Routing/Stack/Stack.php(73): Illuminate\Session\Middleware\Writer->handle(Object(Illuminate\Http\Request), Object(Closure))
LaravelCollective#5 /Users/crynobone/Sites/sandbox/storage/framework/compiled.php(8850): Illuminate\Routing\Stack\Stack->Illuminate\Routing\Stack\{closure}(Object(Illuminate\Http\Request))
LaravelCollective#6 /Users/crynobone/Sites/sandbox/vendor/laravel/framework/src/Illuminate/Routing/Stack/Stack.php(73): Illuminate\Session\Middleware\Reader->handle(Object(Illuminate\Http\Request), Object(Closure))
LaravelCollective#7 /Users/crynobone/Sites/sandbox/storage/framework/compiled.php(9453): Illuminate\Routing\Stack\Stack->Illuminate\Routing\Stack\{closure}(Object(Illuminate\Http\Request))
LaravelCollective#8 /Users/crynobone/Sites/sandbox/vendor/laravel/framework/src/Illuminate/Routing/Stack/Stack.php(73): Illuminate\Cookie\Middleware\Queue->handle(Object(Illuminate\Http\Request), Object(Closure))
LaravelCollective#9 /Users/crynobone/Sites/sandbox/storage/framework/compiled.php(9401): Illuminate\Routing\Stack\Stack->Illuminate\Routing\Stack\{closure}(Object(Illuminate\Http\Request))
LaravelCollective#10 /Users/crynobone/Sites/sandbox/vendor/laravel/framework/src/Illuminate/Routing/Stack/Stack.php(73): Illuminate\Cookie\Middleware\Guard->handle(Object(Illuminate\Http\Request), Object(Closure))
LaravelCollective#11 /Users/crynobone/Sites/sandbox/app/Http/Middleware/GuestMiddleware.php(40): Illuminate\Routing\Stack\Stack->Illuminate\Routing\Stack\{closure}(Object(Illuminate\Http\Request))
LaravelCollective#12 /Users/crynobone/Sites/sandbox/vendor/laravel/framework/src/Illuminate/Routing/Stack/Stack.php(73): App\Http\Middleware\MaintenanceMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
LaravelCollective#13 [internal function]: Illuminate\Routing\Stack\Stack->Illuminate\Routing\Stack\{closure}(Object(Illuminate\Http\Request))
LaravelCollective#14 /Users/crynobone/Sites/sandbox/vendor/laravel/framework/src/Illuminate/Routing/Stack/Stack.php(59): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
LaravelCollective#15 /Users/crynobone/Sites/sandbox/storage/framework/compiled.php(983): Illuminate\Routing\Stack\Stack->run(Object(Illuminate\Http\Request))
LaravelCollective#16 /Users/crynobone/Sites/sandbox/storage/framework/compiled.php(964): Illuminate\Foundation\Application->handleRequest(Object(Illuminate\Http\Request))
LaravelCollective#17 /Users/crynobone/Sites/sandbox/public/index.php(49): Illuminate\Foundation\Application->run()
LaravelCollective#18 {main} [] []
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0