fix notes in book addition

use ternar instead
`<div class="form-group <?php echo isset($param['errors']['name']) ? 'has-errors' : ''; ?>`