You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: reports_helper.rb
    path of file: ./repos/foreman/app/helpers
    
    the code of the file until where you have to start completion: require 'ostruct'
module ReportsHelper
  def reported_at_column(record)
    link_to config_report_path(record) do
      date_time_relative(record.reported_at)
    end
  end

  def re
    
  def logs_show
    return if @config_report.logs.empty?
    form_tag config_report_path(@config_report), :id => 'level_filter', :method => :get, :class => "form form-horizontal" do
      content_tag(:span, _("Show log messages:") + ' ') +
      select(nil, 'level', [[_('All messages'), 'info'], [_('Notices, warnings and errors'), 'notice'], [_('Warnings and errors'), 'warning'], [_('Errors only'), 'error']],
        {}, {:class => "col-md-1 form-control", :onchange => "filter_by_level(this);"})
    end
  end