Sha256: 48d862ad175f3cb8395983f84e2c811b2ec106a2769a47a18ac3210aaa8553ca
Contents?: true
Size: 1.89 KB
Versions: 18
Compression:
Stored size: 1.89 KB
Contents
ruby: new_template_path = -> (type) do new_process_template_operation_template_path(@process_template.id, operation_template: {kind: type} ) end ol.breadcrumb.alert-warning li = link_to "Configuration", process_templates_path li.active = "Template: #{@process_template.title}" = render partial: "application/flash", locals: { notice: notice } .row .col-sm-10 .panel .panel-heading h1.panel-title Templates Configuration .panel-body table.table.table-striped.table-hover tbody tr td strong Process manager td = @process_template.manager_class tr td strong Process class td = @process_template.process_class tr td strong Process Template class td = @process_template.type .col-sm-2 .row .btn-group = button_to "Create Process", {controller: "processes", action: "create", process: {template_id: @process_template.id}}, method: :post, class: "btn btn-lg btn-success" br br .btn-group button.btn.btn-primary.dropdown-toggle type="button" data-toggle="dropdown" aria-expanded="false" | Add Operation span.caret<> ul.dropdown-menu role="menu" - RailsWorkflow::OperationTemplate.types.each do |type, value| li = link_to value[:title], new_template_path.call(type) br br .btn-group = link_to 'Edit', edit_process_template_path(@process_template), class: "btn btn-primary" br br .btn-group = link_to 'Export', export_process_template_path(@process_template), class: "btn btn-primary" br br .btn-group = link_to 'Operations', process_template_operation_templates_path(@process_template), class: "btn btn-primary"
Version data entries
18 entries across 18 versions & 1 rubygems