define(['marionette',
    
    'utils/editable',
    'tpl!templates/contact/userview.html',
    'backbone', 'backbone-validation'
    ], function(Marionette, Editable, template, Backbone) {
    
    
        
    return Marionette.ItemView.extend({
        className: 'content',
        template: template,
        
        initialize: function(options) {
            Backbone.Validation.bind(this);
            console.log(this.model)
        },
        
        
        onRender: function() {
            var edit = new Editable({ model: this.model, el: this.$el })
            if (!this.model.get('LOGIN')) {
                edit.create('GIVENNAME', 'text')
                edit.create('FAMILYNAME', 'text')
            }
            edit.create('PHONENUMBER', 'text')
            edit.create('EMAILADDRESS', 'text')
            edit.create('LABNAME', 'text')
            edit.create('ADDRESS', 'textarea')
            edit.create('CITY', 'text')
            edit.create('POSTCODE', 'text')
            edit.create('COUNTRY', 'text')
        },
        
    })
        
})
@@ -15,24 +15,48 @@
 nette',%0A    
+'collections/countries',
 %0A    'utils/
@@ -174,16 +174,27 @@
 ionette,
+ Countries,
  Editabl
@@ -430,9 +430,8 @@
 his)
-;
 %0A   
@@ -443,70 +443,298 @@
     
-console.log(this.model)%0A        %7D,%0A        %0A        %0A        o
+%0A            this.countries = new Countries()%0A            this.countries.state.pageSize = 9999%0A            this.ready = this.countries.fetch()%0A        %7D,%0A        %0A        %0A        onRender: function() %7B%0A            $.when(this.ready).done(this.doOnRender.bind(this))%0A        %7D,%0A%0A        doO
 nRen
@@ -1282,30 +1282,64 @@
 'COUNTRY', '
-text')
+select', %7B data: this.countries.kv() %7D);
 %0A        %7D,%0A

use countries list