Sha256: 530bbb2635ec14ecf3909cc6a416395a174fd52eaec600311bae17cbf8bea8af
Contents?: true
Size: 465 Bytes
Versions: 31
Compression:
Stored size: 465 Bytes
Contents
class App.Views.Admin.Users.Show extends App.Views.Base constructor: (opts = {}) -> super opts @user = null render: (user) -> @user = user $("#user_email").text @user.email $("#user_username").text @user.username $("#user_confirmed").text if @user.confirmed then "Yes" else "No" this._updateEditLink() _updateEditLink: -> href = $("#edit_link").attr "href" $("#edit_link").attr "href", href.replace "/0/", "/#{@user.id}/"
Version data entries
31 entries across 27 versions & 1 rubygems