Skip to contents

Adds a red star at the end of the text (for example for indicating mandatory fields).

Usage

with_red_star(text)

Arguments

text

the HTLM text to put before the red star

Value

an html element

See also

Other golem: enurl(), is_shiny.tag(), jq_hide(), list_to_li(), list_to_p(), make_action_button(), rep_br(), tagRemoveAttributes(), undisplay()

Other ui: acc_list(), add_sass(), box_list(), bs4Alert(), bs_extract_status(), bs_statuses, col_10(), col_11(), col_12(), col_1(), col_2(), col_3(), col_4(), col_5(), col_6(), col_7(), col_8(), col_9(), col_auto(), copyright(), css_props(), dynamic_row(), enurl(), fa_arrow_icon(), icon_sb(), infoIcon(), jq_hide(), list_to_li(), list_to_p(), make_action_button(), make_columns(), rep_br(), tagRemoveAttributes(), ui_row(), ui_tabs(), undisplay()

Examples

with_red_star("Enter your name here")
#> <span>Enter your name here<span style="color:red">*</span></span>