2019-04-18 16:12:31 +02:00
< div class = "modal" id = "add-chatroom-modal" tabindex = "-1" role = "dialog" aria-labelledby = "add-chatroom-modal-label" aria-hidden = "true" >
2018-02-21 16:59:16 +01:00
< div class = "modal-dialog" role = "document" >
< div class = "modal-content" >
< div class = "modal-header" >
< h5 class = "modal-title"
2019-03-26 12:16:18 +01:00
id="add-chatroom-modal-label">{{{o.__('Enter a new Groupchat')}}}< / h5 >
2018-02-21 16:59:16 +01:00
< button type = "button" class = "close" data-dismiss = "modal" aria-label = "Close" >
2018-11-14 18:10:23 +01:00
< span aria-hidden = "true" > × < / span >
2018-02-21 16:59:16 +01:00
< / button >
< / div >
< div class = "modal-body" >
2018-02-22 15:51:44 +01:00
< form class = "converse-form add-chatroom" >
2018-02-21 16:59:16 +01:00
< div class = "form-group" >
2018-02-23 15:45:44 +01:00
< label for = "chatroom" > {{{o.label_room_address}}}:< / label >
2018-11-14 18:10:23 +01:00
< input type = "text" required = "required" name = "chatroom" class = "form-control" placeholder = "{{{o.chatroom_placeholder}}}" / >
2018-02-22 15:51:44 +01:00
< / div >
2019-03-26 13:29:33 +01:00
{[ if (!o._converse.locked_muc_nickname) { ]}
2019-03-26 12:16:18 +01:00
< div class = "form-group" >
< label for = "nickname" > {{{o.__('Nickname')}}}:< / label >
< input type = "text" pattern = ".*\S+.*" title = "{{{o.__('This field is required')}}}" required = "required" name = "nickname" value = "{{{o.nick}}}" class = "form-control" / >
2018-02-21 16:59:16 +01:00
< / div >
2019-03-26 13:29:33 +01:00
{[ } ]}
2019-03-26 12:16:18 +01:00
< input type = "submit" class = "btn btn-primary" name = "join" value = "{{{o.__('Join')}}}" / >
2018-02-21 16:59:16 +01:00
< / form >
< / div >
< / div >
< / div >
< / div >