                             csrf_token: data.csrf_token
                             firstName:  self.model.get("firstName")
                             lastName:   self.model.get("lastName")
-                        )
+                    )
                     self.loaded = true
             )
 

            $.ajax(
                url: Routing.getBaseUrl() + '/new-token/new-author',
                dataType: 'json'
                success: (data) ->
                    self.csrf = data.csrf_token


                        self.setTitle 'author.edit'
                        # update url
                        self.options.dispatcher.trigger "url:change", "#author/" + self.model.id

                        if(isNew)
                            self.options.collection.add self.model
                            self.options.dispatcher.trigger "author:add", self.model

                    App.Notifier.success "Author saved".t()
            return false

        show: (id) ->
            @$el.show()
