Sha256: 6402fc15934751b3bbcdaf9ee6cd4e9a3ae2afa108d2b0723f43ee32ac95f110
Contents?: true
Size: 738 Bytes
Versions: 14
Compression:
Stored size: 738 Bytes
Contents
.page-header .row .col-md-6 %h1 New user %small <i class="ace-icon fa fa-angle-double-right"></i> create new user .col-md-4 =link_to 'Back', users_path .row#mainform .col-md-12 = horizontal_simple_form_for @item, {url: users_path, :html => { :class => "form-horizontal", :role => "form" }}.merge((@modal==1 ? {remote: true}: {})) do |f| = render 'form_fields', f: f, item: @item :javascript $( document ).ready(function() { $('#mainform a.btn-save-continue').click(function(e){ e.preventDefault(); var f = $(this).closest("form"); f.find("input[name='continue']").val("1"); f.submit(); }); });
Version data entries
14 entries across 14 versions & 1 rubygems