'Get all the phishing scenario contents and store them
in a list
:param self: A TuiTemplateSelection object
:param template_names: A list of string
:param templates: A dictionary
:type self: TuiTemplateSelection
:type template_names: list
:type templates: dict
:return None
:rtype: None'

def get_sections(self, template_names, templates):

    for name in template_names:
        phishing_contents = ('    -    ' + str(templates[name]))
        lines = phishing_contents.splitlines()
        short_lines = []
        for line in lines:
            for short_line in line_splitter(15, line):
                short_lines.append(short_line)
        self.sections.append(short_lines)
