_r(function (app) {
  if ( ! window.app.views.hasOwnProperty('db')) {
    app.views.db = {};
  }
  
  /**
   * Database selection box
   */
  app.views.db.box = app.base.formView.extend({
    
    model: app.models.Db,
    module: 'db',
    action: 'box',
    
    auto_render: true,
    
    $el: $('<div id="db_box"></div>').appendTo('body > div.container'),
    
    events: {
      'click .show_form': 'showForm',
      'click .hide_form': 'hideForm'
    },
    
    afterRender: function () {
      if (app.user_self.get('name')) {
        this.$el.show();
      }
      app.base.formView.prototype.afterRender.apply(this, Array.prototype.slice.call(arguments));
    },
    
    load: function (callback) {
      this.model.fetch(function (db) {
        callback(null, db);
      });
    },
    
    showForm: function  () {
      this.$el.addClass('with_form');
    },
    
    hideForm: function  () {
      this.$el.removeClass('with_form');
      this.render();
    },
    
    saved: function () {
      this.render();
      this.model.once('saved', this.saved);
    }
  });
  
});
@@ -1004,38 +1004,40 @@
 () %7B%0A      this.
-render
+hideForm
 ();%0A      this.m
@@ -1068,16 +1068,36 @@
 saved);%0A
+      app.reload();%0A
     %7D%0A  

Fix db box to hide itself on successful change