Basic edit user routine.

This commit is contained in:
James Cole
2016-12-15 22:56:31 +01:00
parent 2be060796e
commit b021c7690f
11 changed files with 207 additions and 25 deletions

View File

@@ -341,6 +341,24 @@ class ExpandedForm
return $html;
}
/**
* @param $name
* @param null $value
* @param array $options
*
* @return string
*/
public function password(string $name, array $options = []): string
{
$label = $this->label($name, $options);
$options = $this->expandOptionArray($name, $label, $options);
$classes = $this->getHolderClasses($name);
$html = view('form.password', compact('classes', 'name', 'label', 'value', 'options'))->render();
return $html;
}
/**
* @param $name
* @param null $value