OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add js form
[pettanr/pettanr.git]
/
app
/
assets
/
javascripts
/
locmare
/
form
/
field
/
tag
/
hidden.js.coffee
1
class Locmare.FormModule.FieldModule.TagModule.Hidden extends Locmare.FormModule.FieldModule.TagModule.Base
\r
2
\r
3
render: () ->
\r
4
this.$el.html('')
\r
5
@attr = {
\r
6
type: 'hidden',
\r
7
name: @form_field_name(),
\r
8
value: @value()
\r
9
}
\r
10
_.extend(@attr, @options())
\r
11
this.$el.attr(@attr)
\r
12
this
\r
13
\r