1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hubzilla_ynh.git synced 2024-09-03 19:26:21 +02:00
hubzilla_ynh/sources/view/tpl/new_channel.tpl

35 lines
1.1 KiB
Smarty
Raw Normal View History

2016-03-20 08:06:33 +01:00
<div class="generic-content-wrapper">
<div class="section-title-wrapper">
<h2>{{$title}}</h2>
</div>
<div class="section-content-wrapper">
<div class="section-content-info-wrapper">
{{$desc}}
</div>
{{if $channel_usage_message}}
<div class="section-content-warning-wrapper">
{{$channel_usage_message}}
</div>
{{/if}}
<form action="new_channel" method="post" id="newchannel-form">
{{if $default_role}}
<input type="hidden" name="permissions_role" value="{{$default_role}}" />
{{else}}
{{include file="field_select_grouped.tpl" field=$role}}
{{/if}}
{{include file="field_input.tpl" field=$name}}
<div id="name-spinner"></div>
{{include file="field_input.tpl" field=$nickname}}
<div id="nick-spinner"></div>
<button class="btn btn-primary" type="submit" name="submit" id="newchannel-submit-button" value="{{$submit}}">{{$submit}}</button>
<div id="newchannel-submit-end" class="clear"></div>
<div id="newchannel-import-link" class="descriptive-paragraph" >{{$label_import}}</div>
<div id="newchannel-import-end" class="clear"></div>
</form>
</div>
</div>