Update bookmark form with proper bootstrap markup

This commit is contained in:
JC Brand 2018-08-30 22:32:16 +02:00
parent a44f38329c
commit 4b5b517390

View File

@ -1,13 +1,17 @@
<div class="chatroom-form-container"> <div class="chatroom-form-container">
<form class="converse-form chatroom-form"> <form class="converse-form chatroom-form">
<fieldset class="form-group">
<legend>{{{o.heading}}}</legend> <legend>{{{o.heading}}}</legend>
<label>{{{o.label_name}}}</label> <fieldset class="form-group">
<input type="text" name="name" required="required"/> <label for="converse_muc_bookmark_name">{{{o.label_name}}}</label>
<label>{{{o.label_autojoin}}}</label> <input class="form-control" type="text" name="name" required="required" id="converse_muc_bookmark_name"/>
<input type="checkbox" name="autojoin"/> </fieldset>
<label>{{{o.label_nick}}}</label> <fieldset class="form-group">
<input type="text" name="nick" value="{{{o.default_nick}}}"/> <label for="converse_muc_bookmark_nick">{{{o.label_nick}}}</label>
<input class="form-control" type="text" name="nick" value="{{{o.default_nick}}}" id="converse_muc_bookmark_nick"/>
</fieldset>
<fieldset class="form-group form-check">
<input class="form-check-input" id="converse_muc_bookmark_autojoin" type="checkbox" name="autojoin"/>
<label class="form-check-label" for="converse_muc_bookmark_autojoin">{{{o.label_autojoin}}}</label>
</fieldset> </fieldset>
<fieldset class="form-group"> <fieldset class="form-group">
<input class="btn btn-primary" type="submit" value="{{{o.label_submit}}}"/> <input class="btn btn-primary" type="submit" value="{{{o.label_submit}}}"/>