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
568 B
HTML
13 lines
568 B
HTML
<div class="chatroom-form-container">
|
|
<form class="pure-form converse-form chatroom-form converse-centered-form">
|
|
<fieldset>
|
|
<label>{{{o.heading}}}</label>
|
|
<p class="validation-message">{{{o.validation_message}}}</p>
|
|
<input type="text" required="required" name="nick" class="new-chatroom-nick" placeholder="{{{o.label_nickname}}}"/>
|
|
</fieldset>
|
|
<fieldset>
|
|
<input type="submit" class="pure-button button-primary" name="join" value="{{{o.label_join}}}"/>
|
|
</fieldset>
|
|
</form>
|
|
</div>
|