https://twill.io logo
Showing activity info on form
# ❓questions
c
Activity infos inside the edit form Hellooo I need to display in each form who edited and who created the article and when ? A bit like on the dashboard; > "Created 10 days ago by Admin & updated about 16 hours ago by Admin " Any idea how to add this kind of custom information into the form, into the side panel for example? Thank you, have a nice day
i
hi @Constant Variable this is kind of already there if your model uses
HasRevisions
, but if you want to render something yourself, you can use blade and show any text. to get the data for that string you would access the
$item
variable that is available in the form, so you can access
created_at
, its first revision to know the author, etc...
c
Thanks @ifox , good idea I will investigate the
HasRevisions
way 😉