aboutsummaryrefslogblamecommitdiffstats
path: root/view/tpl/new_channel.tpl
blob: 8d72df55b4c7d7234ab23cce2b220aca5a4a763a (plain) (tree)
1
2
3
4
5
6




                                             
                                      







                                                             
                       



















                                                                                                                                
              
      
<div class="generic-content-wrapper">
	<div class="section-title-wrapper">
		<h2>{{$title}}</h2>
	</div>
	<div class="section-content-wrapper">
		{{if ! $default_role}}
		<div class="section-content-info-wrapper">
			{{$desc}}
		</div>
		{{if $channel_usage_message}}
		<div class="section-content-warning-wrapper">
			{{$channel_usage_message}}
		</div>
		{{/if}}
		{{/if}}
		{{if $canadd}}
			<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}}
	
				{{include file="field_input.tpl" field=$nickname}}
				<button class="btn btn-primary" type="submit" id="newchannel-submit-button">{{$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>
		{{/if}}
	</div>
</div>