Sha256: 79bacb87e4131f2f4dd1f0ce10b609f3a6b51b8a2c83c2f380d82f9bb895c8aa
Contents?: true
Size: 571 Bytes
Versions: 5
Compression:
Stored size: 571 Bytes
Contents
var modal = $('.bootbox.modal'); <%- if model.errors.any? %> BBCrud.Alert.show('<%= error_alert %>'); <% if remotipart_submitted? %> var form = "<%= j "#{render(form_path)}" %>"; <% else %> var form = "<%= j render(form_path) %>"; <% end %> modal.find('.modal-body').html(form); modal.find('input[type="submit"]').hide(); <%- else %> BBCrud.Alert.show('<%= success_alert %>'); modal.modal('hide'); var path = '<%= defined?(visit_path) ? visit_path : nil %>'; Turbolinks.visit(path === '' ? null : path); <%- end %>
Version data entries
5 entries across 5 versions & 1 rubygems