Sha256: f845645ce771b1fb08e74b9606ab99acf84c4872e766b2c960c5f403c948aa33
Contents?: true
Size: 990 Bytes
Versions: 66
Compression:
Stored size: 990 Bytes
Contents
<? # This template is used by task deleting form where user can see custom params for the given task ?> <div class="panel panel-info"> <div class="panel-heading"> <h3 class="panel-title">Custom parameters</h3> </div> <div class="panel-body"> <table> %unless custom_params.empty? % custom_params.each do |custom_param_id| % custom_param = Mutx::Tasks::Custom::Param.get(custom_param_id).structure <tr> <td> <label class='control-label' for='formGroupInputSmall'>{{custom_param['name']}}</label> </td> <td> % custom_param_template = Mote.parse(File.read("#{Mutx::View.path}/custom/params/#{custom_param["type"]}.mote"), self, [:param, :no_label, :task_form]) {{custom_param_template.call(param:custom_param, no_label:true, task_form:true)}} </td> </tr> % end % else <tr><td>Not defined for this task</td></tr> % end </table> </div> </div>
Version data entries
66 entries across 66 versions & 1 rubygems