initial github commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
// Generated by CoffeeScript 1.12.5
|
||||
var validations;
|
||||
|
||||
import {
|
||||
validatePresence
|
||||
} from 'ember-changeset-validations/validators';
|
||||
|
||||
import buildMessage from 'ember-changeset-validations/utils/validation-errors';
|
||||
|
||||
validations = {
|
||||
client_identifier: validatePresence({
|
||||
presence: true,
|
||||
message: function(key, type) {
|
||||
return buildMessage(t("attributes.project_instance." + key), {
|
||||
type: type
|
||||
});
|
||||
}
|
||||
})
|
||||
};
|
||||
|
||||
export default validations;
|
||||
Reference in New Issue
Block a user