Sha256: 056847bade38730ed5e9ec5473fea0db04184cdc2a756ef42fe284f2b94ddabe
Contents?: true
Size: 440 Bytes
Versions: 17
Compression:
Stored size: 440 Bytes
Contents
#= require ../shared/form_view Locomotive.Views.MyAccount ||= {} class Locomotive.Views.MyAccount.EditView extends Locomotive.Views.Shared.FormView el: '#content' events: 'submit': 'save' initialize: -> @model = new Locomotive.Models.CurrentAccount(@options.account) Backbone.ModelBinding.bind @ render: -> super() save: (event) -> if @model.get('locale') == window.locale @save_in_ajax(event)
Version data entries
17 entries across 17 versions & 2 rubygems