anchor.diff:  				b Ой! Во введённых данных что-то не так.
   				| #{' '}Исправьте ошибки и попробуйте ещё раз.
   	form.form-horizontal(method='post', action='/register/')
  -		#user-form-group.form-group(class=((invalidLogin || loginIsBusy)?'has-error':''))
  +		#user-form-group.form-group.has-feedback(class=((invalidLogin || loginIsBusy)?'has-error':''))
   			label.col-sm-2.control-label(for='user') Логин
   			.col-sm-3
   				input.form-control#user(type='text', name='user', maxlength='32', value=user, required, autofocus)
  +				span#username-feedback.glyphicon.glyphicon-ok.form-control-feedback(style='display: none')
   			span.col-sm-7.help-block
   				small От 2 до 32 символов, [a-zA-Z0-9а-яА-Я_- ].
  -		#password-form-group.form-group(class=(invalidPass?'has-error':''))
  +		#password-form-group.form-group.has-feedback(class=(invalidPass?'has-error':''))
   			label.col-sm-2.control-label(for='pass') Пароль
   			.col-sm-3
   				.input-group
  
positive.code: 		# Common variables
  		usernameField = $('input[name=user]')
  		usernameFormGroup = $('#user-form-group')
  		passwordField = $('input[name=pass]')
  		passwordFormGroup = $('#password-form-group')
  		revealPasswordButton = $('#revealpass')
  
  		# Reveal password
  		revealPasswordButton.click ->
  
negative.code: 
  		# Validate username
  		usernameField.change ->
  			if validation.usernameIsValid(usernameField.val())
  				usernameStatus 'checking', 'Проверяем, свободен ли логин'
  				$.getJSON "/ajax/isNickBusy/#{encodeURIComponent(usernameField.val())}", (data) ->
  					if data.nick != usernameField.val()
  						usernameStatus 'empty'
  						return
  					if data.isNickBusy
  						usernameStatus 'error', 'Такой логин уже занят'
  					else
  						usernameStatus 'ok', 'Логин свободен'
  			else
  				usernameStatus 'error', 'Логин неправильный'
  