Sha256: 8ce46d05ae1da768040aa85edd87de87578d987ad82ec03d9a4373666eb2af34

Contents?: true

Size: 1.98 KB

Versions: 20

Compression:

Stored size: 1.98 KB

Contents

= javascript_include_tag '/assets/keppler_contact_us/plugins/bootstrap-tagsinput/bootstrap-tagsinput.min.js'

= simple_form_for [:admin, :frontend, @function] do |f|
  .container
    .row
      .col-lg-2
        = link_to admin_frontend_functions_path, "data-position" => "bottom", "data-tooltip" => t("keppler.actions.back") do
          .arrow-back.btn.btn-default
            %i.fa.fa-angle-left
            = t('keppler.actions.back')

    .row
      .col-lg-12
        .box.slice-box.p-15
          .box-header.with-border
            %h3.box-title= t("keppler.modules.#{action_name.underscore}")
          .box-body
            %table.table.table-bordered
              %tbody
                .form-padding
                  .row
                    .col-xs-12
                      = f.input :name
                    .col-xs-12
                      = f.input :description
                    .col-xs-12
                      = f.input :position, as: :hidden
                    .col-xs-12
                      = f.input :deleted_at, as: :hidden

    .row
      .col-lg-12
        .box.slice-box.p-15
          .box-header.with-border
            %h3.box-title= t("keppler_capsules.form.parameters")
          .box-body
            %table.table.table-bordered
              %tbody
                .form-padding
                  .row
                    .col-xs-12
                      = f.simple_fields_for :parameters do |parameter|
                        - if parameter.object.name && @function.id
                          = render 'parameter_fields_edit', f: parameter
                        - else
                          = render 'parameter_fields', f: parameter
                      .links
                        = link_to_add_association "<button class='btn btn-default'> + AƱadir atributo </button>".html_safe, f, :parameters
                    .col-xs-12
                      .pull-right
                        = f.button :submit, t('keppler.actions.save'), name: '_save', class: 'btn-primary'

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
keppler-2.1.18 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml
keppler-2.1.17 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml
keppler-2.1.16 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml
keppler-2.1.15 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml
keppler-2.1.14 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml
keppler-2.1.13 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml
keppler-2.1.12 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml
keppler-2.1.11 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml
keppler-2.1.10 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml
keppler-2.1.9 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml
keppler-2.1.8 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml
keppler-2.1.7 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml
keppler-2.1.6 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml
keppler-2.1.5 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml
keppler-2.1.4 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml
keppler-2.1.3 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml
keppler-2.1.2 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml
keppler-2.1.1 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml
keppler-2.1.pre.p1 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml
keppler-2.1 installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml