dm_html_button Function

public pure function dm_html_button(type, text, disabled) result(html)

Returns HTML button element. An invalid button type will be replaced with HTML_BUTTON_TYPE_BUTTON. This function does not encode the argument.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: type

Button type enumerator.

character(len=*), intent(in) :: text

Button text.

logical, intent(in), optional :: disabled

Disabled flag.

Return Value character(len=:), allocatable

Generated HTML.