arma-server-web-admin/public/js/app/forms/settings.js
Björn Dahlgren 92e2c02b8d List missions
2014-04-04 09:28:33 +00:00

31 lines
770 B
JavaScript

define(function (require) {
"use strict";
var $ = require('jquery'),
_ = require('underscore'),
Backbone = require('backbone'),
Marionette = require('marionette'),
FormView = require('marionette-formview'),
Settings = require('app/models/settings'),
tpl = require('text!tpl/forms/settings.html');
return FormView.extend({
template: _.template(tpl),
fields: {
path: {
el: ".path",
required: "Please enter a valid path.",
validations: {
email: "Please enter a valid path."
}
}
},
initialize: function () {
var self = this;
}
});
});