xmpp.chapril.org-conversejs/src/templates/add_contact_form.html

12 lines
448 B
HTML

<form class="pure-form add-xmpp-contact">
{[ if (error_message) { ]}
<span class="pure-form-message error">{{{error_message}}}</span>
{[ } ]}
<input type="text"
name="identifier"
value="{{{value}}}"
class="username {[ if (error_message) { ]} error {[ } ]}"
placeholder="{{{label_contact_username}}}"/>
<button class="pure-button button-primary" type="submit">{{{label_add}}}</button>
</form>