       fields: fields
       newTitle: "New #{@bucket.get('singular')}"
 
+  render: ->
+    super
+    TweenLite.from @$('.panel'), .5,
+      scale: .7
+      opacity: 0
+      ease: Elastic.easeOut
+      easeParams: [.5, 1.2]
+
   submitForm: (e) ->
     e.preventDefault()
     @submit @model.save(@formParams(), wait: yes)

    e.preventDefault()

    if confirm 'Are you sure?'
      @model.destroy(wait: yes)

  @mixin FormMixin

tpl = require 'templates/entries/edit'

module.exports = class EntryEditView extends PageView
  template: tpl
  optionNames: PageView::optionNames.concat ['bucket', 'user']

