def generate_new_button
        return unless @args[:index_url]
        url = "#{@args[:index_url].gsub(/\?.*/, '')}/new"
        return LatoCore::Elements::Button::Cell.new(label: LANGUAGES[:lato_core][:mixed][:new],
        url: url, icon: 'plus')
      end
def generate_new_button
        return unless @args[:index_url]
        url = "#{@args[:index_url].gsub(/\?.*/, '')}/new"
        return LatoCore::Elements::Button::Cell.new(label: LANGUAGES[:lato_core][:mixed][:new],
        url: url, icon: 'plus')
      end
This function generate new button.