query_string = args[:query_string] action = args[:action] if ["edit","view"].include? action task = Mutx::Tasks::Task.get(args[:task_id]).task_data_structure name = task["name"] type = task["type"] value = task["value"] options = task["options"] required = task["required"] information = task["information"] command = task["command"] max_execs = task["max_execs"] params = task["custom_params"] cucumber = task["cucumber"] cronneable = task["cronneable"] cron_time = task["cron_time"] notifications = task["notifications"] mail = task["mail"] subject = task["subject"] value = if value.is_a? Hash value.to_json else value.gsub('"=>"','":"') if type=="json" end disabled = 'disabled="disabled"' if action == "view" end name = query_string.name if query_string.name options = query_string.options if query_string.options value = query_string.value if query_string.value type = query_string.type if query_string.type required = query_string.required if query_string.required information = query_string.information if query_string.information command = query_string.required if query_string.command types = Mutx::Tasks::Custom::Param.types types.unshift("Select...") unless types.include? "Select..." execution_type = type.capitalize if type platform = task["platform"].capitalize if task application = task["application"].capitalize if task ?> <<<<<<< HEAD ======= >>>>>>> 7946439652abce4c9ee3be74593bb6899725d31b <<<<<<< HEAD ======= >>>>>>> 7946439652abce4c9ee3be74593bb6899725d31b