custom button. How to do this ?

Hello,

For my project I need a button which produces this in html ;

Submit

I tried already and <content_tag> but also that did not produce the output as I expected.

Roelof

Roelof Wobben wrote in post #1154953:

For my project I need a button which produces this in html ;

<button class="btn btn-blue" type="submit">Submit</button>

I tried already <button tag> and <content_tag> but also that did not
produce the output as I expected.

The button_tag signature:
button_tag(content_or_options = nil, options = nil, &block)

button_tag("Submit", { class: "btn btn-blue" })
=> <button class="btn btn-blue" name="button"
type="submit">Submit</button>