Sha256: 7f779fe20df5b915cc2a4a7a492c7c6474b1129def73ee069d11f0c8f423927c

Contents?: true

Size: 1.47 KB

Versions: 19

Compression:

Stored size: 1.47 KB

Contents

- if @operation_template.errors.any?
  #error_explanation
    h2 = "#{pluralize(@operation_template.errors.count, "error")} prohibited this wf_operation_template from being saved:"
    ul
      - @operation_template.errors.full_messages.each do |message|
        li = message

= hidden_field_tag 'operation_template[kind]', @operation_template.kind

.form-group
  = f.label :group, class: "control-label col-sm-2"
  .col-sm-10
    = f.collection_select(:group, User.get_group_values, :last, :first, {include_blank: true}, {class: "form-control"})

.form-group
  = f.label :title, class: "control-label col-sm-2"
  .col-sm-10
    = f.text_field :title, class: "form-control"


.form-group
  = f.label :operation_class, class: "control-label col-sm-2"
  .col-sm-10
    = f.text_field :operation_class, class: "form-control", placeholder: f.object.default_class

.form-group
  = f.label :type, "Template Class", class: "control-label col-sm-2"
  .col-sm-10
    = f.text_field :type, class: "form-control", placeholder: f.object.default_type

.form-group
  = f.label :partial_name, "Context Partial", class: "control-label col-sm-2"
  .col-sm-10
    = f.text_field :partial_name, class: "form-control", placeholder: "Default"

.form-group
  .col-sm-2
  .col-sm-10
    = f.label "User Instruction", class: "control-label cl-sm-2"
    br
    = f.text_area :instruction, rows: "3", class: "form-control"


.form-group
  = f.label "Asynchronous", class: "control-label col-sm-2"
  .col-sm-10
    = f.check_box :async

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
rails_workflow-0.7.3 app/views/rails_workflow/operation_templates/_user_group_form.html.slim
rails_workflow-0.7.2 app/views/rails_workflow/operation_templates/_user_group_form.html.slim
rails_workflow-0.7.1 app/views/rails_workflow/operation_templates/_user_group_form.html.slim
rails_workflow-0.7.0 app/views/rails_workflow/operation_templates/_user_group_form.html.slim
rails_workflow-0.4.4 app/views/rails_workflow/operation_templates/_user_group_form.html.slim
rails_workflow-0.4.3 app/views/rails_workflow/operation_templates/_user_group_form.html.slim
rails_workflow-0.4.2 app/views/rails_workflow/operation_templates/_user_group_form.html.slim
rails_workflow-0.4.1 app/views/rails_workflow/operation_templates/_user_group_form.html.slim
rails_workflow-0.4.0 app/views/rails_workflow/operation_templates/_user_group_form.html.slim
rails_workflow-0.3.9 app/views/rails_workflow/operation_templates/_user_group_form.html.slim
rails_workflow-0.3.7 app/views/rails_workflow/operation_templates/_user_group_form.html.slim
rails_workflow-0.3.6 app/views/rails_workflow/operation_templates/_user_group_form.html.slim
rails_workflow-0.3.5 app/views/rails_workflow/operation_templates/_user_group_form.html.slim
rails_workflow-0.3.4 app/views/rails_workflow/operation_templates/_user_group_form.html.slim
rails_workflow-0.3.3 app/views/rails_workflow/operation_templates/_user_group_form.html.slim
rails_workflow-0.3.2 app/views/rails_workflow/operation_templates/_user_group_form.html.slim
rails_workflow-0.3.1 app/views/rails_workflow/operation_templates/_user_group_form.html.slim
rails_workflow-0.3.0 app/views/rails_workflow/operation_templates/_user_group_form.html.slim
rails_workflow-0.2.2 app/views/rails_workflow/operation_templates/_user_group_form.html.slim