Fix Actions links in text mode
- Display them as text buttons
- Show the description
- Use css classes
Ref: 3255e4ad7b
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
abe0ae75f6
commit
749d284f3e
@ -32,8 +32,8 @@ class Text implements ActionLinksModesInterface
|
||||
if (empty($value)) {
|
||||
$value = $text;
|
||||
}
|
||||
return ' <input class="btn btn-link" type="submit" name="' . $name . '"'
|
||||
return ' <button class="btn btn-link ' . $class . '" type="submit" name="' . $name . '"'
|
||||
. ' value="' . htmlspecialchars($value) . '"'
|
||||
. ' title="' . htmlspecialchars($text) . '">' . "\n";
|
||||
. ' title="' . htmlspecialchars($text) . '">' . htmlspecialchars($text) . '</button>' . "\n";
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user