8a4aa4efdd
This removes the need for `switch (obj)` in the template which is not allowed in strict mode. Additionally using a named variable speeds up rendering.
13 lines
439 B
HTML
13 lines
439 B
HTML
<div class="chatroom-form-container">
|
|
<form class="pure-form converse-form chatroom-form">
|
|
<fieldset>
|
|
<legend>{{{o.heading}}}</legend>
|
|
<label>{{{o.label_password}}}</label>
|
|
<input type="password" name="password"/>
|
|
</fieldset>
|
|
<fieldset>
|
|
<input class="pure-button button-primary" type="submit" value="{{{o.label_submit}}}"/>
|
|
</fieldset>
|
|
</form>
|
|
</div>
|