mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
31 lines
770 B
JavaScript
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;
|
||
|
}
|
||
|
});
|
||
|
|
||
|
});
|