@(settings: service.SystemSettingsService.SystemSettings, info: Option[Any])(implicit context: app.Context) @import context._ @import view.helpers._ @html.main("System Settings"){ @menu("system"){ @helper.html.information(info) <form action="@path/admin/system" method="POST" validate="true"> <div class="box"> <div class="box-header">System Settings</div> <div class="box-content"> <label><strong>Account registration</strong></label> <fieldset> <label> <input type="radio" name="allowAccountRegistration" value="true"@if(settings.allowAccountRegistration){ checked}> <strong>Allow</strong> - Users can create account by themselves. </label> <label> <input type="radio" name="allowAccountRegistration" value="false"@if(!settings.allowAccountRegistration){ checked}> <strong>Deny</strong> - Only administrators can create account. </label> </fieldset> </div> </div> <fieldset> <input type="submit" class="btn btn-success" value="Apply changes"/> </fieldset> </form> } }