Laravel-4-Generators icon indicating copy to clipboard operation
Laravel-4-Generators copied to clipboard

Is there a way to write specific templates for create, index, edit and show actions?

Open cristianfierro opened this issue 10 years ago • 1 comments

After I run php artisan generate:publish-templates I see I have a template view.txt to customize. Is there a way I can add some specific templates or do some conditionals in that view to add some html for index, create, edit, and show views?

cristianfierro avatar Jan 17 '15 01:01 cristianfierro

I think no. It's seem view.txt use for all template, but will be better if we can customize each of templates. This should be nice future improvement.

idhamperdameian avatar Jan 17 '15 11:01 idhamperdameian