<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
	<div class="span10">
		<ul id="msgops">
			<li>${h.link_to(_('Domain Settings'), url('domain-settings', domainid=c.domain.id))}</li>
			<li>${h.link_to(_('Domain details'), url(controller='domains', action='detail', domainid=c.domain.id))}</li>
		</ul>
	</div>
	<div class="span1 hidden-phone"></div>
</div>
<div class="space-6"></div>
<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
	<div class="span10">
		<div class="row-fluid">
		    <h3 class="head smaller lighter blue">${_("Add Auth Settings")}</h3>
		</div>
	</div>
	<div class="span1 hidden-phone"></div>
</div>
<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
	<div class="span10">
		${h.form(url('domains-auth-settings-with-protocol', domainid=c.domain.id, proto=c.proto, sid=c.sid), method='post', class_="form-horizontal")}
		<%include file="../forms/base.html"/>
		<div class="form-actions">
			<button id="reset-button" class="btn btn-small btn-success" type="reset"><i class="icon-undo"></i> ${_('Reset')}</button>
			<button id="submit-button" class="btn btn-small btn-success"><i class="icon-plus"></i> ${_("Save settings")}</button>
		</div>
		${h.end_form()}\
	</div>
	<div class="span1 hidden-phone"></div>
</div>


<%def name="title()">
${_('Domains :: %(name)s :: Authentication settings') % dict(name=c.domain.name)}
</%def>

<%def name="heading()">
${_('Domains :: %(name)s :: Authentication settings') % dict(name=c.domain.name)}
</%def>

<%def name="headers()">
</%def>
<%def name="submenu()"></%def>
<%def name="localscripts()">\
<script type="text/javascript">
$(function() {
	$('.settings-popover').popover();
});
</script>
</%def>
<%inherit file="../base.html"/>
