Improved handling for Kerberous attributes - closes #154

This commit is contained in:
2025-03-12 21:07:16 +11:00
parent 853bd92340
commit add3f85812
17 changed files with 280 additions and 5 deletions

View File

@@ -279,7 +279,11 @@ class Attribute implements \Countable, \ArrayAccess, \Iterator
*/
public function render(bool $edit=FALSE,bool $old=FALSE,bool $new=FALSE): View
{
return view('components.attribute')
$view = view()->exists($x='components.attribute.'.$this->name_lc)
? view($x)
: view('components.attribute');
return $view
->with('o',$this)
->with('edit',$edit)
->with('old',$old)