Enabled adding new attributes to a DN

This commit is contained in:
2023-09-02 20:50:54 +10:00
parent 6d900d0964
commit 652cdee034
22 changed files with 403 additions and 105 deletions

View File

@@ -97,6 +97,7 @@ class Attribute
$this->name = $name;
$this->values = collect($values);
$this->lang_tags = collect();
$this->required_by = collect();
// No need to load our schema for internal attributes
if (! $this->is_internal)
@@ -182,9 +183,10 @@ class Attribute
* Display the attribute value
*
* @param bool $edit
* @param bool $blank
* @return View
*/
public function render(bool $edit=FALSE): View
public function render(bool $edit=FALSE,bool $blank=FALSE): View
{
return view('components.attribute')
->with('edit',$edit)