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

Version Path
optimacms-0.1.61 app/views/optimacms/admin/users/new.html.haml
optimacms-0.4.3 app/views/optimacms/admin/users/new.html.haml
optimacms-0.4.2 app/views/optimacms/admin/users/new.html.haml
optimacms-0.3.35 app/views/optimacms/admin/users/new.html.haml
optimacms-0.3.34 app/views/optimacms/admin/users/new.html.haml
optimacms-0.3.30 app/views/optimacms/admin/users/new.html.haml
optimacms-0.3.29 app/views/optimacms/admin/users/new.html.haml
optimacms-0.3.23 app/views/optimacms/admin/users/new.html.haml
optimacms-0.3.15 app/views/optimacms/admin/users/new.html.haml
optimacms-0.3.12 app/views/optimacms/admin/users/new.html.haml
optimacms-0.3.11 app/views/optimacms/admin/users/new.html.haml
optimacms-0.2.26 app/views/optimacms/admin/users/new.html.haml
optimacms-0.2.25 app/views/optimacms/admin/users/new.html.haml
optimacms-0.2.24 app/views/optimacms/admin/users/new.html.haml