Sha256: ce4906dd2a5d755bf9ed01c110b4e734d39ec2ec2233e8802dc5aff62865e2f2
Contents?: true
Size: 591 Bytes
Versions: 1
Compression:
Stored size: 591 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 %>'; if (path !== false) Turbolinks.visit(path === '' ? null : path); <%- end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bootbox_crud-0.1.1.5 | app/views/modals/_form.js.erb |