Sha256: 63198cd635afe814fa4fa511bbc1a21856cbeba0201479138164c6794a192674

Contents?: true

Size: 785 Bytes

Versions: 10

Compression:

Stored size: 785 Bytes

Contents

<?
# This template is used by task creation form where user can select custom params for a task
custom_params_list = Mutx::API::CustomParams.list
?>

<table>
  % custom_params_list.each do |custom_param|
    <tr>
      <td>

        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" {{'checked="checked"' if params.include? custom_param["_id"]}} class="bigCheckbox" name="custom_param_{{custom_param['_id']}}" id="{{custom_param['name']}}" />&nbsp;
      </td>
      <td>
        <label class='control-label' for='formGroupInputSmall'>{{custom_param['name']}}</label>&nbsp;
      </td>
      <td>
        {{ partial("custom-params/types/#{custom_param['type']}", param: custom_param, no_label: true, task_form: true) }}
      </td>
    </tr>
  % end
</table>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mutx-0.2.9 lib/mutx/view/admin/custom-params/selection_box.mote
mutx-0.2.8 lib/mutx/view/admin/custom-params/selection_box.mote
mutx-0.2.7 lib/mutx/view/admin/custom-params/selection_box.mote
mutx-0.2.6 lib/mutx/view/admin/custom-params/selection_box.mote
mutx-0.2.5 lib/mutx/view/admin/custom-params/selection_box.mote
mutx-0.2.4 lib/mutx/view/admin/custom-params/selection_box.mote
mutx-0.2.3 lib/mutx/view/admin/custom-params/selection_box.mote
mutx-0.2.2 lib/mutx/view/admin/custom-params/selection_box.mote
mutx-0.2.1 lib/mutx/view/admin/custom-params/selection_box.mote
mutx-0.2.0 lib/mutx/view/admin/custom-params/selection_box.mote