mirror of https://github.com/movim/movim
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.2 KiB
39 lines
1.2 KiB
<section>
|
|
<form name="invite">
|
|
<h3>{$c->__('room.invite')}</h3>
|
|
<h4>{$room}</h4>
|
|
<div>
|
|
<input type="hidden" value="{$room}" name="to" id="to"/>
|
|
<datalist id="contact_list">
|
|
{loop="$contacts"}
|
|
<option value="{$value}"/>
|
|
{/loop}
|
|
</datalist>
|
|
<input
|
|
name="invite"
|
|
list="contact_list"
|
|
id="invite"
|
|
type="email"
|
|
required
|
|
placeholder="user@server.tld"/>
|
|
<label>{$c->__('roster.add_contact_info1')}</label>
|
|
</div>
|
|
<h2 style="text-align: center;">{$c->__('global.or')}</h2>
|
|
<div>
|
|
<input
|
|
readonly
|
|
value="{$c->route('login', $invite->code)}">
|
|
<label>{$c->__('room.invite_code')}</label>
|
|
</div>
|
|
</section>
|
|
<div class="no_bar">
|
|
<button class="button flat" onclick="Dialog_ajaxClear()">
|
|
{$c->__('button.cancel')}
|
|
</button>
|
|
<button
|
|
class="button flat"
|
|
onclick="RoomsUtils_ajaxInvite(MovimUtils.formToJson('invite'));">
|
|
{$c->__('button.invite')}
|
|
</button>
|
|
</div>
|
|
</div>
|