FrozenNode / Laravel-Administrator

An administrative interface package for Laravel
http://administrator.frozennode.com/
MIT License
1.94k stars 504 forks source link

Possible improvement: 'help' option in model configuration? #136

Open gilr opened 11 years ago

gilr commented 11 years ago

Juste an idea: after 'title' => 'Users', 'single' => 'user', 'model' => 'Users', having an additional 'help'=> 'blah' option, free text to offer information about the current table/model, or help or rules about some specific fields of the table, destined to guide database administrators. This text can be displayed under the model line; or a question mark icon can be added in this line, and test displayed as jquery popup when icon clicked.

janhartigan commented 11 years ago

This is a good idea. It would probably also make sense to add a help option to each edit field. I'll probably use tipsy.

pablorozin commented 10 years ago

I'm tring to do this improvement but i couldn't find the way, how can I add a "not-required" attr like "data-help" or so in templates/edit.php? I've been seeing the knockout docs but if the help option is not defined it breaks. Could you tell me which files should I look? Thanks!