Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Change hebrew to english in create view
Browse files Browse the repository at this point in the history
  • Loading branch information
bwestmoreland committed Jul 25, 2013
1 parent cb62e46 commit dda6f5c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/models/article.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
var mongoose = require('mongoose')
, env = process.env.NODE_ENV || 'development'
, config = require('../../config/config')[env]
, Schema = mongoose.Schema
, Schema = mongoose.Schema;

/**
* Article Schema
Expand All @@ -26,6 +26,6 @@ ArticleSchema.statics = {
load: function (id, cb) {
this.findOne({ _id : id }).populate('user').exec(cb);
}
}
};

mongoose.model('Article', ArticleSchema)
mongoose.model('Article', ArticleSchema);
4 changes: 2 additions & 2 deletions public/views/articles/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<div class="control-group">
<label class="control-label" for="title">כותרת</label>
<div class="controls">
<input type="text" data-ng-model="title" id="title" placeholder="כותרת">
<input type="text" data-ng-model="title" id="title" placeholder="Title">
</div>
</div>
<div class="control-group">
<label class="control-label" for="content">תוכן</label>
<div class="controls">
<textarea data-ng-model="content" id="content" cols="30" rows="10" placeholder="תוכן"></textarea>
<textarea data-ng-model="content" id="content" cols="30" rows="10" placeholder="Content"></textarea>
</div>
</div>
<div class="control-group">
Expand Down

0 comments on commit dda6f5c

Please sign in to comment.