app: Add Bootstrap classes.
This commit is contained in:
committed by
nitnelave
parent
00efdb42af
commit
a952968e9f
@@ -102,7 +102,13 @@ impl Component for RemoveUserFromGroupComponent {
|
||||
<>
|
||||
<td>{&group.display_name}</td>
|
||||
{ if self.props.is_admin { html! {
|
||||
<td><button onclick=self.link.callback(|_| Msg::SubmitRemoveGroup)>{"-"}</button></td>
|
||||
<td>
|
||||
<button
|
||||
class="btn btn-danger"
|
||||
onclick=self.link.callback(|_| Msg::SubmitRemoveGroup)>
|
||||
<i class="bi-x-circle-fill" aria-label="Remove user from group" />
|
||||
</button>
|
||||
</td>
|
||||
}} else { html!{} }
|
||||
}
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user