Also some minor fixes when returning from a post for a DN with attribute tags.
This commit is contained in:
@@ -13,15 +13,17 @@ class AttributeType extends Component
|
||||
{
|
||||
private LDAPAttribute $o;
|
||||
private bool $new;
|
||||
private bool $edit;
|
||||
private string $langtag;
|
||||
|
||||
/**
|
||||
* Create a new component instance.
|
||||
*/
|
||||
public function __construct(LDAPAttribute $o,bool $new=FALSE,string $langtag=Entry::TAG_NOTAG)
|
||||
public function __construct(LDAPAttribute $o,bool $new=FALSE,bool $edit=FALSE,string $langtag=Entry::TAG_NOTAG)
|
||||
{
|
||||
$this->o = $o;
|
||||
$this->new = $new;
|
||||
$this->edit = $edit;
|
||||
$this->langtag = $langtag;
|
||||
}
|
||||
|
||||
@@ -33,6 +35,7 @@ class AttributeType extends Component
|
||||
return view('components.attribute-type')
|
||||
->with('o',$this->o)
|
||||
->with('new',$this->new)
|
||||
->with('edit',$this->edit)
|
||||
->with('langtag',$this->langtag);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user