Sha256: 8a4d1932323e5ae8b1b6d1a13eecd5c413d3f4a9d263a04282d07d19d74fdbe9
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 :role, class: "control-label col-sm-2" .col-sm-10 = f.collection_select(:role, User.get_role_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" .checkbox .col-sm-2 .col-sm-10 label = f.check_box :async | Asynchronous br br
Version data entries
19 entries across 19 versions & 1 rubygems