Nicolas Kern
Nicolas Kern
Works like a charm, worth merging (even though the composer.json modifications don't have to be merged) !
Hi, Thanks a lot for your example natkuu, did you manage to use a model instead ? I can't manage to make it work... Thanks, Nicolas
Finally it works very fine, don't bother asking an example if needed ;)
Hey, I actually dug https://github.com/juliencharrel/DoctrineEncryptBundle which is doing things fine. Thanks ;)
This is exactly what I'm looking for, but I can't make it work for the latest version, did anyone manage to make it work? Best, Nicolas
I guess I'm getting to something, but I think as well it'd be a nice addition to the plugin, so I might make a pull-request !
Here you go : ``` Marionette.ItemView = Marionette.ItemView.extend onError: (model, collection) -> try errorsJson = $.parseJSON(collection.responseText) if errorsJson errors = errorsJson.errors.children for field of errors if errors[field].errors $('.field-' + field).addClass('has-error').find('.help-block[data-error]').html...
It was more to people who might have the same problem as I had :P
I didn't give it a further try, my needs changed ;)