Sha256: 57cdfb12001d71237a1fd2abc2652c03281b6f70d14551a92310b9125b396c30
Contents?: true
Size: 1.48 KB
Versions: 4
Compression:
Stored size: 1.48 KB
Contents
- rtc_controller_name ||= controller_name - rtc_header = true if rtc_header.nil? - rtc_column_header = true if rtc_column_header.nil? - rtc_footer = true if rtc_footer.nil? - rtc_partial = rtc_controller_name.singularize if rtc_partial.nil? - toggle_view = false if toggle_view.nil? - rtc_empty_data_message = sanitize "Data #{t(rtc_controller_name)} kosong" if rtc_empty_data_message.nil? - search_action ||= nil - search_key ||= 'q' - advanced_search_attributes ||= nil - columns_width = columns_width.presence || [] - table_title ||= nil .component_content - if rtc_header.present? = render "rich_table_component/rtc/header", search_constraint: search_constraint.presence || nil, search_action: search_action, search_key: search_key, rtc_controller_name: rtc_controller_name, rtc_partial: rtc_partial, toggle_view: toggle_view, advanced_search_attributes: advanced_search_attributes, table_title: table_title, params: params = render "rich_table_component/rtc/content", headers: headers, rtc_controller_name: rtc_controller_name, params: params, rtc_column_header: rtc_column_header, rtc_partial: rtc_partial, rtc_empty_data_message: rtc_empty_data_message, row_number: row_number, multiple_selection: multiple_selection, columns_width: columns_width - if rtc_footer.present? = render "rich_table_component/rtc/footer", rtc_controller_name: rtc_controller_name, params: params
Version data entries
4 entries across 4 versions & 1 rubygems