# -*- coding:ascii -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1427673937.911405
_enable_loop = True
_template_filename = '/Users/spencerlowe/PycharmProjects/chef-master/events/templates/areas.html'
_template_uri = 'areas.html'
_source_encoding = 'ascii'
import os, os.path, re
_exports = ['paper_elements_import', 'page_title', 'extra_links', 'content', 'tab_title']


def _mako_get_namespace(context, name):
    try:
        return context.namespaces[(__name__, name)]
    except KeyError:
        _mako_generate_namespaces(context)
        return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
    pass
def _mako_inherit(template, context):
    _mako_generate_namespaces(context)
    return runtime._inherit_from(context, '/base_admin/templates/base.htm', _template_uri)
def render_body(context,**pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        __M_locals = __M_dict_builtin(pageargs=pageargs)
        def content():
            return render_content(context._locals(__M_locals))
        def tab_title():
            return render_tab_title(context._locals(__M_locals))
        def paper_elements_import():
            return render_paper_elements_import(context._locals(__M_locals))
        event = context.get('event', UNDEFINED)
        areas = context.get('areas', UNDEFINED)
        def extra_links():
            return render_extra_links(context._locals(__M_locals))
        def page_title():
            return render_page_title(context._locals(__M_locals))
        STATIC_URL = context.get('STATIC_URL', UNDEFINED)
        __M_writer = context.writer()
        __M_writer('\n\n')
        __M_writer('\n\n')
        if 'parent' not in context._data or not hasattr(context._data['parent'], 'tab_title'):
            context['self'].tab_title(**pageargs)
        

        __M_writer('\n\n')
        if 'parent' not in context._data or not hasattr(context._data['parent'], 'paper_elements_import'):
            context['self'].paper_elements_import(**pageargs)
        

        __M_writer('\n\n')
        if 'parent' not in context._data or not hasattr(context._data['parent'], 'extra_links'):
            context['self'].extra_links(**pageargs)
        

        __M_writer('\n\n')
        if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
            context['self'].content(**pageargs)
        

        return ''
    finally:
        context.caller_stack._pop_frame()


def render_paper_elements_import(context,**pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        def paper_elements_import():
            return render_paper_elements_import(context)
        STATIC_URL = context.get('STATIC_URL', UNDEFINED)
        __M_writer = context.writer()
        __M_writer('\n\t<link rel="import" href="')
        __M_writer(str( STATIC_URL ))
        __M_writer('base_app/styles/bower_components/paper-input/paper-input.html">\n\t<link rel="import" href="')
        __M_writer(str( STATIC_URL ))
        __M_writer('base_app/styles/bower_components/paper-button/paper-button.html">\n\t<link rel="import" href="')
        __M_writer(str( STATIC_URL ))
        __M_writer('base_app/styles/bower_components/paper-checkbox/paper-checkbox.html">\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_page_title(context,**pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        event = context.get('event', UNDEFINED)
        def page_title():
            return render_page_title(context)
        __M_writer = context.writer()
        __M_writer('\n\t\t<div class="row">\n\t\t\t\n')
        __M_writer('\t\t\t<div class="col-md-8">\n\t\t\t\t<h1>Areas for ')
        __M_writer(str( event.event_template.name ))
        __M_writer('</h1>\n\t\t\t</div>\n')
        __M_writer('\n')
        __M_writer('\t\t\t<div class="col-md-4">\n\t\t\t\t<div class="create_button">\n\t\t\t\t\t<a class="button" href="/events/areas.create/')
        __M_writer(str( event.id ))
        __M_writer('">\n\t\t\t\t\t\t<paper-button class="create_button" raised>Create new Area</paper-button>\n\t\t\t\t\t</a>\n\t\t\t\t</div>\n\t\t\t\t\n\t\t\t</div>\n')
        __M_writer('\n\t\t</div>\n\t')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_extra_links(context,**pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        STATIC_URL = context.get('STATIC_URL', UNDEFINED)
        def extra_links():
            return render_extra_links(context)
        __M_writer = context.writer()
        __M_writer('\n\t<link rel="stylesheet" type="text/css" href="')
        __M_writer(str( STATIC_URL ))
        __M_writer('base_admin/styles/View.css">\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_content(context,**pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        areas = context.get('areas', UNDEFINED)
        event = context.get('event', UNDEFINED)
        def content():
            return render_content(context)
        def page_title():
            return render_page_title(context)
        __M_writer = context.writer()
        __M_writer('\n\t\n')
        __M_writer('\t')
        if 'parent' not in context._data or not hasattr(context._data['parent'], 'page_title'):
            context['self'].page_title(**pageargs)
        

        __M_writer('\n')
        __M_writer('\n')
        __M_writer('\t<div class="row">\n\t\t\n')
        __M_writer('\t\t<div class="col-md-6">\n\n')
        __M_writer('\t\t\t<h3>Batch Options</h3>\n\t\t\t\n\t\t\t<div class="dropdown">\n\t\t\t\t<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropwdown" aria-expanded="true">\n\t\t\t\t\tBatch Options\n\t\t\t\t\t<span class="caret"></span>\n\t\t\t\t</button>\n\t\t\t\t<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">\n\t\t\t\t\t<li role="presentation">Delete</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\n\t\t\t<paper-button class="success_button run_batch" raised>Submit</paper-button>\n\n')
        __M_writer('\n\t\t</div>\n')
        __M_writer('\n')
        __M_writer('\t\t<div class="col-md-6">\n\t\t\t\n')
        __M_writer('\t\t\t<h3>Filter Options</h3>\n\t\t\t\n\t\t\t<div class="dropdown">\n\t\t\t\t<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropwdown" aria-expanded="true">\n\t\t\t\t\tFilter Options\n\t\t\t\t\t<span class="caret"></span>\n\t\t\t\t</button>\n\t\t\t\t<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">\n\t\t\t\t\t<li role="presentation">Delete</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\n\t\t\t<paper-input-decorator class="short" floatingLabel label="Criteria">\n\t\t\t\t<input is="core-input"></input>\n\t\t\t</paper-input-decorator>\n\n\t\t\t<paper-button class="success_button apply_filter" raised>Submit</paper-button>\n')
        __M_writer('\n\t\t</div>\n')
        __M_writer('\n\t</div>\n')
        __M_writer('\n')
        __M_writer('\t<hr>\n')
        __M_writer('\n')
        __M_writer('\t<table class="table table-hover table-bordered">\n\t\t<thead>\n\t\t\t<tr>\n\t\t\t\t<th>\n\t\t\t\t\t<paper-button raised class="">Select All</paper-button>\n\t\t\t\t</th>\n\t\t\t\t<th>\n\t\t\t\t\tName\n\t\t\t\t</th>\n\t\t\t\t<th>\n\t\t\t\t\tPlace Number\n\t\t\t\t</th>\n\t\t\t\t<th>\n\t\t\t\t\tActions\n\t\t\t\t</th>\n\t\t\t</tr>\n\t\t</thead>\n\t\t<tbody>\n')
        for area in areas:
            __M_writer('\t\t\t\t<tr>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t<paper-checkbox></paper-checkbox>\n\t\t\t\t\t</td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t')
            __M_writer(str( area.name ))
            __M_writer('\n\t\t\t\t\t</td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t')
            __M_writer(str( area.place_number ))
            __M_writer('\n\t\t\t\t\t</td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t<a class="button" href="/events/events.edit/')
            __M_writer(str( event.id ))
            __M_writer('">\n\t\t\t\t\t\t\t<paper-button raised class="success_button">Event Info</paper-button>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t\t<a class="button" href="/events/areas.edit/')
            __M_writer(str( event.id ))
            __M_writer('/')
            __M_writer(str( area.id ))
            __M_writer('">\n\t\t\t\t\t\t\t<paper-button raised class="edit_button">Edit</paper-button>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t\t<a class="button" href="/events/areas.delete/')
            __M_writer(str( event.id ))
            __M_writer('/')
            __M_writer(str( area.id ))
            __M_writer('">\n\t\t\t\t\t\t\t<paper-button raised class="delete_button">Delete</paper-button>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n')
        __M_writer('\t\t</tbody>\n\t</table>\t\n')
        __M_writer('\n')
        __M_writer('\t<div class="spacer"></div>\n\t<div class="spacer"></div>\n\t<div class="spacer"></div>\n')
        __M_writer('\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_tab_title(context,**pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        event = context.get('event', UNDEFINED)
        def tab_title():
            return render_tab_title(context)
        __M_writer = context.writer()
        __M_writer('\n  Areas for ')
        __M_writer(str( event.event_template.name ))
        __M_writer('\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


"""
__M_BEGIN_METADATA
{"filename": "/Users/spencerlowe/PycharmProjects/chef-master/events/templates/areas.html", "line_map": {"174": 157, "136": 25, "137": 28, "142": 49, "143": 51, "144": 53, "145": 56, "146": 59, "147": 74, "148": 77, "149": 79, "150": 82, "151": 100, "152": 103, "153": 106, "154": 108, "27": 0, "156": 112, "157": 130, "158": 131, "159": 136, "160": 136, "161": 139, "162": 139, "155": 110, "164": 142, "163": 142, "166": 145, "167": 145, "168": 145, "169": 148, "170": 148, "171": 148, "172": 148, "45": 7, "46": 9, "175": 159, "176": 163, "189": 11, "51": 13, "182": 11, "56": 19, "61": 23, "190": 12, "191": 12, "197": 191, "71": 15, "78": 15, "79": 16, "80": 16, "81": 17, "82": 17, "83": 18, "84": 18, "90": 28, "173": 154, "165": 145, "97": 28, "98": 32, "99": 33, "100": 33, "101": 36, "102": 38, "103": 40, "104": 40, "105": 47, "111": 21, "118": 21, "119": 22, "120": 22, "126": 25}, "source_encoding": "ascii", "uri": "areas.html"}
__M_END_METADATA
"""

65b659b00983590f07b9961c85f2a0ef23f86812
<mask token>


def _mako_get_namespace(context, name):
    try:
        return context.namespaces[__name__, name]
    except KeyError:
        _mako_generate_namespaces(context)
        return context.namespaces[__name__, name]


def _mako_generate_namespaces(context):
    pass


<mask token>


def render_paper_elements_import(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:

        def paper_elements_import():
            return render_paper_elements_import(context)
        STATIC_URL = context.get('STATIC_URL', UNDEFINED)
        __M_writer = context.writer()
        __M_writer('\n\t<link rel="import" href="')
        __M_writer(str(STATIC_URL))
        __M_writer(
            """base_app/styles/bower_components/paper-input/paper-input.html">
	<link rel="import" href=\""""
            )
        __M_writer(str(STATIC_URL))
        __M_writer(
            """base_app/styles/bower_components/paper-button/paper-button.html">
	<link rel="import" href=\""""
            )
        __M_writer(str(STATIC_URL))
        __M_writer(
            'base_app/styles/bower_components/paper-checkbox/paper-checkbox.html">\n'
            )
        return ''
    finally:
        context.caller_stack._pop_frame()


<mask token>


def render_extra_links(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        STATIC_URL = context.get('STATIC_URL', UNDEFINED)

        def extra_links():
            return render_extra_links(context)
        __M_writer = context.writer()
        __M_writer('\n\t<link rel="stylesheet" type="text/css" href="')
        __M_writer(str(STATIC_URL))
        __M_writer('base_admin/styles/View.css">\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_content(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        areas = context.get('areas', UNDEFINED)
        event = context.get('event', UNDEFINED)

        def content():
            return render_content(context)

        def page_title():
            return render_page_title(context)
        __M_writer = context.writer()
        __M_writer('\n\t\n')
        __M_writer('\t')
        if 'parent' not in context._data or not hasattr(context._data[
            'parent'], 'page_title'):
            context['self'].page_title(**pageargs)
        __M_writer('\n')
        __M_writer('\n')
        __M_writer('\t<div class="row">\n\t\t\n')
        __M_writer('\t\t<div class="col-md-6">\n\n')
        __M_writer(
            """			<h3>Batch Options</h3>
			
			<div class="dropdown">
				<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropwdown" aria-expanded="true">
					Batch Options
					<span class="caret"></span>
				</button>
				<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
					<li role="presentation">Delete</li>
				</ul>
			</div>

			<paper-button class="success_button run_batch" raised>Submit</paper-button>

"""
            )
        __M_writer('\n\t\t</div>\n')
        __M_writer('\n')
        __M_writer('\t\t<div class="col-md-6">\n\t\t\t\n')
        __M_writer(
            """			<h3>Filter Options</h3>
			
			<div class="dropdown">
				<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropwdown" aria-expanded="true">
					Filter Options
					<span class="caret"></span>
				</button>
				<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
					<li role="presentation">Delete</li>
				</ul>
			</div>

			<paper-input-decorator class="short" floatingLabel label="Criteria">
				<input is="core-input"></input>
			</paper-input-decorator>

			<paper-button class="success_button apply_filter" raised>Submit</paper-button>
"""
            )
        __M_writer('\n\t\t</div>\n')
        __M_writer('\n\t</div>\n')
        __M_writer('\n')
        __M_writer('\t<hr>\n')
        __M_writer('\n')
        __M_writer(
            """	<table class="table table-hover table-bordered">
		<thead>
			<tr>
				<th>
					<paper-button raised class="">Select All</paper-button>
				</th>
				<th>
					Name
				</th>
				<th>
					Place Number
				</th>
				<th>
					Actions
				</th>
			</tr>
		</thead>
		<tbody>
"""
            )
        for area in areas:
            __M_writer(
                """				<tr>
					<td>
						<paper-checkbox></paper-checkbox>
					</td>
					<td>
						"""
                )
            __M_writer(str(area.name))
            __M_writer('\n\t\t\t\t\t</td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t')
            __M_writer(str(area.place_number))
            __M_writer(
                """
					</td>
					<td>
						<a class="button" href="/events/events.edit/"""
                )
            __M_writer(str(event.id))
            __M_writer(
                """">
							<paper-button raised class="success_button">Event Info</paper-button>
						</a>
						<a class="button" href="/events/areas.edit/"""
                )
            __M_writer(str(event.id))
            __M_writer('/')
            __M_writer(str(area.id))
            __M_writer(
                """">
							<paper-button raised class="edit_button">Edit</paper-button>
						</a>
						<a class="button" href="/events/areas.delete/"""
                )
            __M_writer(str(event.id))
            __M_writer('/')
            __M_writer(str(area.id))
            __M_writer(
                """">
							<paper-button raised class="delete_button">Delete</paper-button>
						</a>
					</td>
				</tr>
"""
                )
        __M_writer('\t\t</tbody>\n\t</table>\t\n')
        __M_writer('\n')
        __M_writer(
            """	<div class="spacer"></div>
	<div class="spacer"></div>
	<div class="spacer"></div>
"""
            )
        __M_writer('\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_tab_title(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        event = context.get('event', UNDEFINED)

        def tab_title():
            return render_tab_title(context)
        __M_writer = context.writer()
        __M_writer('\n  Areas for ')
        __M_writer(str(event.event_template.name))
        __M_writer('\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


<mask token>

<mask token>


def _mako_get_namespace(context, name):
    try:
        return context.namespaces[__name__, name]
    except KeyError:
        _mako_generate_namespaces(context)
        return context.namespaces[__name__, name]


def _mako_generate_namespaces(context):
    pass


<mask token>


def render_body(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        __M_locals = __M_dict_builtin(pageargs=pageargs)

        def content():
            return render_content(context._locals(__M_locals))

        def tab_title():
            return render_tab_title(context._locals(__M_locals))

        def paper_elements_import():
            return render_paper_elements_import(context._locals(__M_locals))
        event = context.get('event', UNDEFINED)
        areas = context.get('areas', UNDEFINED)

        def extra_links():
            return render_extra_links(context._locals(__M_locals))

        def page_title():
            return render_page_title(context._locals(__M_locals))
        STATIC_URL = context.get('STATIC_URL', UNDEFINED)
        __M_writer = context.writer()
        __M_writer('\n\n')
        __M_writer('\n\n')
        if 'parent' not in context._data or not hasattr(context._data[
            'parent'], 'tab_title'):
            context['self'].tab_title(**pageargs)
        __M_writer('\n\n')
        if 'parent' not in context._data or not hasattr(context._data[
            'parent'], 'paper_elements_import'):
            context['self'].paper_elements_import(**pageargs)
        __M_writer('\n\n')
        if 'parent' not in context._data or not hasattr(context._data[
            'parent'], 'extra_links'):
            context['self'].extra_links(**pageargs)
        __M_writer('\n\n')
        if 'parent' not in context._data or not hasattr(context._data[
            'parent'], 'content'):
            context['self'].content(**pageargs)
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_paper_elements_import(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:

        def paper_elements_import():
            return render_paper_elements_import(context)
        STATIC_URL = context.get('STATIC_URL', UNDEFINED)
        __M_writer = context.writer()
        __M_writer('\n\t<link rel="import" href="')
        __M_writer(str(STATIC_URL))
        __M_writer(
            """base_app/styles/bower_components/paper-input/paper-input.html">
	<link rel="import" href=\""""
            )
        __M_writer(str(STATIC_URL))
        __M_writer(
            """base_app/styles/bower_components/paper-button/paper-button.html">
	<link rel="import" href=\""""
            )
        __M_writer(str(STATIC_URL))
        __M_writer(
            'base_app/styles/bower_components/paper-checkbox/paper-checkbox.html">\n'
            )
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_page_title(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        event = context.get('event', UNDEFINED)

        def page_title():
            return render_page_title(context)
        __M_writer = context.writer()
        __M_writer('\n\t\t<div class="row">\n\t\t\t\n')
        __M_writer('\t\t\t<div class="col-md-8">\n\t\t\t\t<h1>Areas for ')
        __M_writer(str(event.event_template.name))
        __M_writer('</h1>\n\t\t\t</div>\n')
        __M_writer('\n')
        __M_writer(
            """			<div class="col-md-4">
				<div class="create_button">
					<a class="button" href="/events/areas.create/"""
            )
        __M_writer(str(event.id))
        __M_writer(
            """">
						<paper-button class="create_button" raised>Create new Area</paper-button>
					</a>
				</div>
				
			</div>
"""
            )
        __M_writer('\n\t\t</div>\n\t')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_extra_links(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        STATIC_URL = context.get('STATIC_URL', UNDEFINED)

        def extra_links():
            return render_extra_links(context)
        __M_writer = context.writer()
        __M_writer('\n\t<link rel="stylesheet" type="text/css" href="')
        __M_writer(str(STATIC_URL))
        __M_writer('base_admin/styles/View.css">\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_content(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        areas = context.get('areas', UNDEFINED)
        event = context.get('event', UNDEFINED)

        def content():
            return render_content(context)

        def page_title():
            return render_page_title(context)
        __M_writer = context.writer()
        __M_writer('\n\t\n')
        __M_writer('\t')
        if 'parent' not in context._data or not hasattr(context._data[
            'parent'], 'page_title'):
            context['self'].page_title(**pageargs)
        __M_writer('\n')
        __M_writer('\n')
        __M_writer('\t<div class="row">\n\t\t\n')
        __M_writer('\t\t<div class="col-md-6">\n\n')
        __M_writer(
            """			<h3>Batch Options</h3>
			
			<div class="dropdown">
				<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropwdown" aria-expanded="true">
					Batch Options
					<span class="caret"></span>
				</button>
				<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
					<li role="presentation">Delete</li>
				</ul>
			</div>

			<paper-button class="success_button run_batch" raised>Submit</paper-button>

"""
            )
        __M_writer('\n\t\t</div>\n')
        __M_writer('\n')
        __M_writer('\t\t<div class="col-md-6">\n\t\t\t\n')
        __M_writer(
            """			<h3>Filter Options</h3>
			
			<div class="dropdown">
				<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropwdown" aria-expanded="true">
					Filter Options
					<span class="caret"></span>
				</button>
				<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
					<li role="presentation">Delete</li>
				</ul>
			</div>

			<paper-input-decorator class="short" floatingLabel label="Criteria">
				<input is="core-input"></input>
			</paper-input-decorator>

			<paper-button class="success_button apply_filter" raised>Submit</paper-button>
"""
            )
        __M_writer('\n\t\t</div>\n')
        __M_writer('\n\t</div>\n')
        __M_writer('\n')
        __M_writer('\t<hr>\n')
        __M_writer('\n')
        __M_writer(
            """	<table class="table table-hover table-bordered">
		<thead>
			<tr>
				<th>
					<paper-button raised class="">Select All</paper-button>
				</th>
				<th>
					Name
				</th>
				<th>
					Place Number
				</th>
				<th>
					Actions
				</th>
			</tr>
		</thead>
		<tbody>
"""
            )
        for area in areas:
            __M_writer(
                """				<tr>
					<td>
						<paper-checkbox></paper-checkbox>
					</td>
					<td>
						"""
                )
            __M_writer(str(area.name))
            __M_writer('\n\t\t\t\t\t</td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t')
            __M_writer(str(area.place_number))
            __M_writer(
                """
					</td>
					<td>
						<a class="button" href="/events/events.edit/"""
                )
            __M_writer(str(event.id))
            __M_writer(
                """">
							<paper-button raised class="success_button">Event Info</paper-button>
						</a>
						<a class="button" href="/events/areas.edit/"""
                )
            __M_writer(str(event.id))
            __M_writer('/')
            __M_writer(str(area.id))
            __M_writer(
                """">
							<paper-button raised class="edit_button">Edit</paper-button>
						</a>
						<a class="button" href="/events/areas.delete/"""
                )
            __M_writer(str(event.id))
            __M_writer('/')
            __M_writer(str(area.id))
            __M_writer(
                """">
							<paper-button raised class="delete_button">Delete</paper-button>
						</a>
					</td>
				</tr>
"""
                )
        __M_writer('\t\t</tbody>\n\t</table>\t\n')
        __M_writer('\n')
        __M_writer(
            """	<div class="spacer"></div>
	<div class="spacer"></div>
	<div class="spacer"></div>
"""
            )
        __M_writer('\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_tab_title(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        event = context.get('event', UNDEFINED)

        def tab_title():
            return render_tab_title(context)
        __M_writer = context.writer()
        __M_writer('\n  Areas for ')
        __M_writer(str(event.event_template.name))
        __M_writer('\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


<mask token>

<mask token>


def _mako_get_namespace(context, name):
    try:
        return context.namespaces[__name__, name]
    except KeyError:
        _mako_generate_namespaces(context)
        return context.namespaces[__name__, name]


def _mako_generate_namespaces(context):
    pass


def _mako_inherit(template, context):
    _mako_generate_namespaces(context)
    return runtime._inherit_from(context, '/base_admin/templates/base.htm',
        _template_uri)


def render_body(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        __M_locals = __M_dict_builtin(pageargs=pageargs)

        def content():
            return render_content(context._locals(__M_locals))

        def tab_title():
            return render_tab_title(context._locals(__M_locals))

        def paper_elements_import():
            return render_paper_elements_import(context._locals(__M_locals))
        event = context.get('event', UNDEFINED)
        areas = context.get('areas', UNDEFINED)

        def extra_links():
            return render_extra_links(context._locals(__M_locals))

        def page_title():
            return render_page_title(context._locals(__M_locals))
        STATIC_URL = context.get('STATIC_URL', UNDEFINED)
        __M_writer = context.writer()
        __M_writer('\n\n')
        __M_writer('\n\n')
        if 'parent' not in context._data or not hasattr(context._data[
            'parent'], 'tab_title'):
            context['self'].tab_title(**pageargs)
        __M_writer('\n\n')
        if 'parent' not in context._data or not hasattr(context._data[
            'parent'], 'paper_elements_import'):
            context['self'].paper_elements_import(**pageargs)
        __M_writer('\n\n')
        if 'parent' not in context._data or not hasattr(context._data[
            'parent'], 'extra_links'):
            context['self'].extra_links(**pageargs)
        __M_writer('\n\n')
        if 'parent' not in context._data or not hasattr(context._data[
            'parent'], 'content'):
            context['self'].content(**pageargs)
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_paper_elements_import(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:

        def paper_elements_import():
            return render_paper_elements_import(context)
        STATIC_URL = context.get('STATIC_URL', UNDEFINED)
        __M_writer = context.writer()
        __M_writer('\n\t<link rel="import" href="')
        __M_writer(str(STATIC_URL))
        __M_writer(
            """base_app/styles/bower_components/paper-input/paper-input.html">
	<link rel="import" href=\""""
            )
        __M_writer(str(STATIC_URL))
        __M_writer(
            """base_app/styles/bower_components/paper-button/paper-button.html">
	<link rel="import" href=\""""
            )
        __M_writer(str(STATIC_URL))
        __M_writer(
            'base_app/styles/bower_components/paper-checkbox/paper-checkbox.html">\n'
            )
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_page_title(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        event = context.get('event', UNDEFINED)

        def page_title():
            return render_page_title(context)
        __M_writer = context.writer()
        __M_writer('\n\t\t<div class="row">\n\t\t\t\n')
        __M_writer('\t\t\t<div class="col-md-8">\n\t\t\t\t<h1>Areas for ')
        __M_writer(str(event.event_template.name))
        __M_writer('</h1>\n\t\t\t</div>\n')
        __M_writer('\n')
        __M_writer(
            """			<div class="col-md-4">
				<div class="create_button">
					<a class="button" href="/events/areas.create/"""
            )
        __M_writer(str(event.id))
        __M_writer(
            """">
						<paper-button class="create_button" raised>Create new Area</paper-button>
					</a>
				</div>
				
			</div>
"""
            )
        __M_writer('\n\t\t</div>\n\t')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_extra_links(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        STATIC_URL = context.get('STATIC_URL', UNDEFINED)

        def extra_links():
            return render_extra_links(context)
        __M_writer = context.writer()
        __M_writer('\n\t<link rel="stylesheet" type="text/css" href="')
        __M_writer(str(STATIC_URL))
        __M_writer('base_admin/styles/View.css">\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_content(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        areas = context.get('areas', UNDEFINED)
        event = context.get('event', UNDEFINED)

        def content():
            return render_content(context)

        def page_title():
            return render_page_title(context)
        __M_writer = context.writer()
        __M_writer('\n\t\n')
        __M_writer('\t')
        if 'parent' not in context._data or not hasattr(context._data[
            'parent'], 'page_title'):
            context['self'].page_title(**pageargs)
        __M_writer('\n')
        __M_writer('\n')
        __M_writer('\t<div class="row">\n\t\t\n')
        __M_writer('\t\t<div class="col-md-6">\n\n')
        __M_writer(
            """			<h3>Batch Options</h3>
			
			<div class="dropdown">
				<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropwdown" aria-expanded="true">
					Batch Options
					<span class="caret"></span>
				</button>
				<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
					<li role="presentation">Delete</li>
				</ul>
			</div>

			<paper-button class="success_button run_batch" raised>Submit</paper-button>

"""
            )
        __M_writer('\n\t\t</div>\n')
        __M_writer('\n')
        __M_writer('\t\t<div class="col-md-6">\n\t\t\t\n')
        __M_writer(
            """			<h3>Filter Options</h3>
			
			<div class="dropdown">
				<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropwdown" aria-expanded="true">
					Filter Options
					<span class="caret"></span>
				</button>
				<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
					<li role="presentation">Delete</li>
				</ul>
			</div>

			<paper-input-decorator class="short" floatingLabel label="Criteria">
				<input is="core-input"></input>
			</paper-input-decorator>

			<paper-button class="success_button apply_filter" raised>Submit</paper-button>
"""
            )
        __M_writer('\n\t\t</div>\n')
        __M_writer('\n\t</div>\n')
        __M_writer('\n')
        __M_writer('\t<hr>\n')
        __M_writer('\n')
        __M_writer(
            """	<table class="table table-hover table-bordered">
		<thead>
			<tr>
				<th>
					<paper-button raised class="">Select All</paper-button>
				</th>
				<th>
					Name
				</th>
				<th>
					Place Number
				</th>
				<th>
					Actions
				</th>
			</tr>
		</thead>
		<tbody>
"""
            )
        for area in areas:
            __M_writer(
                """				<tr>
					<td>
						<paper-checkbox></paper-checkbox>
					</td>
					<td>
						"""
                )
            __M_writer(str(area.name))
            __M_writer('\n\t\t\t\t\t</td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t')
            __M_writer(str(area.place_number))
            __M_writer(
                """
					</td>
					<td>
						<a class="button" href="/events/events.edit/"""
                )
            __M_writer(str(event.id))
            __M_writer(
                """">
							<paper-button raised class="success_button">Event Info</paper-button>
						</a>
						<a class="button" href="/events/areas.edit/"""
                )
            __M_writer(str(event.id))
            __M_writer('/')
            __M_writer(str(area.id))
            __M_writer(
                """">
							<paper-button raised class="edit_button">Edit</paper-button>
						</a>
						<a class="button" href="/events/areas.delete/"""
                )
            __M_writer(str(event.id))
            __M_writer('/')
            __M_writer(str(area.id))
            __M_writer(
                """">
							<paper-button raised class="delete_button">Delete</paper-button>
						</a>
					</td>
				</tr>
"""
                )
        __M_writer('\t\t</tbody>\n\t</table>\t\n')
        __M_writer('\n')
        __M_writer(
            """	<div class="spacer"></div>
	<div class="spacer"></div>
	<div class="spacer"></div>
"""
            )
        __M_writer('\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_tab_title(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        event = context.get('event', UNDEFINED)

        def tab_title():
            return render_tab_title(context)
        __M_writer = context.writer()
        __M_writer('\n  Areas for ')
        __M_writer(str(event.event_template.name))
        __M_writer('\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


<mask token>

<mask token>
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1427673937.911405
_enable_loop = True
_template_filename = (
    '/Users/spencerlowe/PycharmProjects/chef-master/events/templates/areas.html'
    )
_template_uri = 'areas.html'
_source_encoding = 'ascii'
<mask token>
_exports = ['paper_elements_import', 'page_title', 'extra_links', 'content',
    'tab_title']


def _mako_get_namespace(context, name):
    try:
        return context.namespaces[__name__, name]
    except KeyError:
        _mako_generate_namespaces(context)
        return context.namespaces[__name__, name]


def _mako_generate_namespaces(context):
    pass


def _mako_inherit(template, context):
    _mako_generate_namespaces(context)
    return runtime._inherit_from(context, '/base_admin/templates/base.htm',
        _template_uri)


def render_body(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        __M_locals = __M_dict_builtin(pageargs=pageargs)

        def content():
            return render_content(context._locals(__M_locals))

        def tab_title():
            return render_tab_title(context._locals(__M_locals))

        def paper_elements_import():
            return render_paper_elements_import(context._locals(__M_locals))
        event = context.get('event', UNDEFINED)
        areas = context.get('areas', UNDEFINED)

        def extra_links():
            return render_extra_links(context._locals(__M_locals))

        def page_title():
            return render_page_title(context._locals(__M_locals))
        STATIC_URL = context.get('STATIC_URL', UNDEFINED)
        __M_writer = context.writer()
        __M_writer('\n\n')
        __M_writer('\n\n')
        if 'parent' not in context._data or not hasattr(context._data[
            'parent'], 'tab_title'):
            context['self'].tab_title(**pageargs)
        __M_writer('\n\n')
        if 'parent' not in context._data or not hasattr(context._data[
            'parent'], 'paper_elements_import'):
            context['self'].paper_elements_import(**pageargs)
        __M_writer('\n\n')
        if 'parent' not in context._data or not hasattr(context._data[
            'parent'], 'extra_links'):
            context['self'].extra_links(**pageargs)
        __M_writer('\n\n')
        if 'parent' not in context._data or not hasattr(context._data[
            'parent'], 'content'):
            context['self'].content(**pageargs)
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_paper_elements_import(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:

        def paper_elements_import():
            return render_paper_elements_import(context)
        STATIC_URL = context.get('STATIC_URL', UNDEFINED)
        __M_writer = context.writer()
        __M_writer('\n\t<link rel="import" href="')
        __M_writer(str(STATIC_URL))
        __M_writer(
            """base_app/styles/bower_components/paper-input/paper-input.html">
	<link rel="import" href=\""""
            )
        __M_writer(str(STATIC_URL))
        __M_writer(
            """base_app/styles/bower_components/paper-button/paper-button.html">
	<link rel="import" href=\""""
            )
        __M_writer(str(STATIC_URL))
        __M_writer(
            'base_app/styles/bower_components/paper-checkbox/paper-checkbox.html">\n'
            )
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_page_title(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        event = context.get('event', UNDEFINED)

        def page_title():
            return render_page_title(context)
        __M_writer = context.writer()
        __M_writer('\n\t\t<div class="row">\n\t\t\t\n')
        __M_writer('\t\t\t<div class="col-md-8">\n\t\t\t\t<h1>Areas for ')
        __M_writer(str(event.event_template.name))
        __M_writer('</h1>\n\t\t\t</div>\n')
        __M_writer('\n')
        __M_writer(
            """			<div class="col-md-4">
				<div class="create_button">
					<a class="button" href="/events/areas.create/"""
            )
        __M_writer(str(event.id))
        __M_writer(
            """">
						<paper-button class="create_button" raised>Create new Area</paper-button>
					</a>
				</div>
				
			</div>
"""
            )
        __M_writer('\n\t\t</div>\n\t')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_extra_links(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        STATIC_URL = context.get('STATIC_URL', UNDEFINED)

        def extra_links():
            return render_extra_links(context)
        __M_writer = context.writer()
        __M_writer('\n\t<link rel="stylesheet" type="text/css" href="')
        __M_writer(str(STATIC_URL))
        __M_writer('base_admin/styles/View.css">\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_content(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        areas = context.get('areas', UNDEFINED)
        event = context.get('event', UNDEFINED)

        def content():
            return render_content(context)

        def page_title():
            return render_page_title(context)
        __M_writer = context.writer()
        __M_writer('\n\t\n')
        __M_writer('\t')
        if 'parent' not in context._data or not hasattr(context._data[
            'parent'], 'page_title'):
            context['self'].page_title(**pageargs)
        __M_writer('\n')
        __M_writer('\n')
        __M_writer('\t<div class="row">\n\t\t\n')
        __M_writer('\t\t<div class="col-md-6">\n\n')
        __M_writer(
            """			<h3>Batch Options</h3>
			
			<div class="dropdown">
				<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropwdown" aria-expanded="true">
					Batch Options
					<span class="caret"></span>
				</button>
				<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
					<li role="presentation">Delete</li>
				</ul>
			</div>

			<paper-button class="success_button run_batch" raised>Submit</paper-button>

"""
            )
        __M_writer('\n\t\t</div>\n')
        __M_writer('\n')
        __M_writer('\t\t<div class="col-md-6">\n\t\t\t\n')
        __M_writer(
            """			<h3>Filter Options</h3>
			
			<div class="dropdown">
				<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropwdown" aria-expanded="true">
					Filter Options
					<span class="caret"></span>
				</button>
				<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
					<li role="presentation">Delete</li>
				</ul>
			</div>

			<paper-input-decorator class="short" floatingLabel label="Criteria">
				<input is="core-input"></input>
			</paper-input-decorator>

			<paper-button class="success_button apply_filter" raised>Submit</paper-button>
"""
            )
        __M_writer('\n\t\t</div>\n')
        __M_writer('\n\t</div>\n')
        __M_writer('\n')
        __M_writer('\t<hr>\n')
        __M_writer('\n')
        __M_writer(
            """	<table class="table table-hover table-bordered">
		<thead>
			<tr>
				<th>
					<paper-button raised class="">Select All</paper-button>
				</th>
				<th>
					Name
				</th>
				<th>
					Place Number
				</th>
				<th>
					Actions
				</th>
			</tr>
		</thead>
		<tbody>
"""
            )
        for area in areas:
            __M_writer(
                """				<tr>
					<td>
						<paper-checkbox></paper-checkbox>
					</td>
					<td>
						"""
                )
            __M_writer(str(area.name))
            __M_writer('\n\t\t\t\t\t</td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t')
            __M_writer(str(area.place_number))
            __M_writer(
                """
					</td>
					<td>
						<a class="button" href="/events/events.edit/"""
                )
            __M_writer(str(event.id))
            __M_writer(
                """">
							<paper-button raised class="success_button">Event Info</paper-button>
						</a>
						<a class="button" href="/events/areas.edit/"""
                )
            __M_writer(str(event.id))
            __M_writer('/')
            __M_writer(str(area.id))
            __M_writer(
                """">
							<paper-button raised class="edit_button">Edit</paper-button>
						</a>
						<a class="button" href="/events/areas.delete/"""
                )
            __M_writer(str(event.id))
            __M_writer('/')
            __M_writer(str(area.id))
            __M_writer(
                """">
							<paper-button raised class="delete_button">Delete</paper-button>
						</a>
					</td>
				</tr>
"""
                )
        __M_writer('\t\t</tbody>\n\t</table>\t\n')
        __M_writer('\n')
        __M_writer(
            """	<div class="spacer"></div>
	<div class="spacer"></div>
	<div class="spacer"></div>
"""
            )
        __M_writer('\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_tab_title(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        event = context.get('event', UNDEFINED)

        def tab_title():
            return render_tab_title(context)
        __M_writer = context.writer()
        __M_writer('\n  Areas for ')
        __M_writer(str(event.event_template.name))
        __M_writer('\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


<mask token>

# -*- coding:ascii -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1427673937.911405
_enable_loop = True
_template_filename = '/Users/spencerlowe/PycharmProjects/chef-master/events/templates/areas.html'
_template_uri = 'areas.html'
_source_encoding = 'ascii'
import os, os.path, re
_exports = ['paper_elements_import', 'page_title', 'extra_links', 'content', 'tab_title']


def _mako_get_namespace(context, name):
    try:
        return context.namespaces[(__name__, name)]
    except KeyError:
        _mako_generate_namespaces(context)
        return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
    pass
def _mako_inherit(template, context):
    _mako_generate_namespaces(context)
    return runtime._inherit_from(context, '/base_admin/templates/base.htm', _template_uri)
def render_body(context,**pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        __M_locals = __M_dict_builtin(pageargs=pageargs)
        def content():
            return render_content(context._locals(__M_locals))
        def tab_title():
            return render_tab_title(context._locals(__M_locals))
        def paper_elements_import():
            return render_paper_elements_import(context._locals(__M_locals))
        event = context.get('event', UNDEFINED)
        areas = context.get('areas', UNDEFINED)
        def extra_links():
            return render_extra_links(context._locals(__M_locals))
        def page_title():
            return render_page_title(context._locals(__M_locals))
        STATIC_URL = context.get('STATIC_URL', UNDEFINED)
        __M_writer = context.writer()
        __M_writer('\n\n')
        __M_writer('\n\n')
        if 'parent' not in context._data or not hasattr(context._data['parent'], 'tab_title'):
            context['self'].tab_title(**pageargs)
        

        __M_writer('\n\n')
        if 'parent' not in context._data or not hasattr(context._data['parent'], 'paper_elements_import'):
            context['self'].paper_elements_import(**pageargs)
        

        __M_writer('\n\n')
        if 'parent' not in context._data or not hasattr(context._data['parent'], 'extra_links'):
            context['self'].extra_links(**pageargs)
        

        __M_writer('\n\n')
        if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
            context['self'].content(**pageargs)
        

        return ''
    finally:
        context.caller_stack._pop_frame()


def render_paper_elements_import(context,**pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        def paper_elements_import():
            return render_paper_elements_import(context)
        STATIC_URL = context.get('STATIC_URL', UNDEFINED)
        __M_writer = context.writer()
        __M_writer('\n\t<link rel="import" href="')
        __M_writer(str( STATIC_URL ))
        __M_writer('base_app/styles/bower_components/paper-input/paper-input.html">\n\t<link rel="import" href="')
        __M_writer(str( STATIC_URL ))
        __M_writer('base_app/styles/bower_components/paper-button/paper-button.html">\n\t<link rel="import" href="')
        __M_writer(str( STATIC_URL ))
        __M_writer('base_app/styles/bower_components/paper-checkbox/paper-checkbox.html">\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_page_title(context,**pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        event = context.get('event', UNDEFINED)
        def page_title():
            return render_page_title(context)
        __M_writer = context.writer()
        __M_writer('\n\t\t<div class="row">\n\t\t\t\n')
        __M_writer('\t\t\t<div class="col-md-8">\n\t\t\t\t<h1>Areas for ')
        __M_writer(str( event.event_template.name ))
        __M_writer('</h1>\n\t\t\t</div>\n')
        __M_writer('\n')
        __M_writer('\t\t\t<div class="col-md-4">\n\t\t\t\t<div class="create_button">\n\t\t\t\t\t<a class="button" href="/events/areas.create/')
        __M_writer(str( event.id ))
        __M_writer('">\n\t\t\t\t\t\t<paper-button class="create_button" raised>Create new Area</paper-button>\n\t\t\t\t\t</a>\n\t\t\t\t</div>\n\t\t\t\t\n\t\t\t</div>\n')
        __M_writer('\n\t\t</div>\n\t')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_extra_links(context,**pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        STATIC_URL = context.get('STATIC_URL', UNDEFINED)
        def extra_links():
            return render_extra_links(context)
        __M_writer = context.writer()
        __M_writer('\n\t<link rel="stylesheet" type="text/css" href="')
        __M_writer(str( STATIC_URL ))
        __M_writer('base_admin/styles/View.css">\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_content(context,**pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        areas = context.get('areas', UNDEFINED)
        event = context.get('event', UNDEFINED)
        def content():
            return render_content(context)
        def page_title():
            return render_page_title(context)
        __M_writer = context.writer()
        __M_writer('\n\t\n')
        __M_writer('\t')
        if 'parent' not in context._data or not hasattr(context._data['parent'], 'page_title'):
            context['self'].page_title(**pageargs)
        

        __M_writer('\n')
        __M_writer('\n')
        __M_writer('\t<div class="row">\n\t\t\n')
        __M_writer('\t\t<div class="col-md-6">\n\n')
        __M_writer('\t\t\t<h3>Batch Options</h3>\n\t\t\t\n\t\t\t<div class="dropdown">\n\t\t\t\t<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropwdown" aria-expanded="true">\n\t\t\t\t\tBatch Options\n\t\t\t\t\t<span class="caret"></span>\n\t\t\t\t</button>\n\t\t\t\t<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">\n\t\t\t\t\t<li role="presentation">Delete</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\n\t\t\t<paper-button class="success_button run_batch" raised>Submit</paper-button>\n\n')
        __M_writer('\n\t\t</div>\n')
        __M_writer('\n')
        __M_writer('\t\t<div class="col-md-6">\n\t\t\t\n')
        __M_writer('\t\t\t<h3>Filter Options</h3>\n\t\t\t\n\t\t\t<div class="dropdown">\n\t\t\t\t<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropwdown" aria-expanded="true">\n\t\t\t\t\tFilter Options\n\t\t\t\t\t<span class="caret"></span>\n\t\t\t\t</button>\n\t\t\t\t<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">\n\t\t\t\t\t<li role="presentation">Delete</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\n\t\t\t<paper-input-decorator class="short" floatingLabel label="Criteria">\n\t\t\t\t<input is="core-input"></input>\n\t\t\t</paper-input-decorator>\n\n\t\t\t<paper-button class="success_button apply_filter" raised>Submit</paper-button>\n')
        __M_writer('\n\t\t</div>\n')
        __M_writer('\n\t</div>\n')
        __M_writer('\n')
        __M_writer('\t<hr>\n')
        __M_writer('\n')
        __M_writer('\t<table class="table table-hover table-bordered">\n\t\t<thead>\n\t\t\t<tr>\n\t\t\t\t<th>\n\t\t\t\t\t<paper-button raised class="">Select All</paper-button>\n\t\t\t\t</th>\n\t\t\t\t<th>\n\t\t\t\t\tName\n\t\t\t\t</th>\n\t\t\t\t<th>\n\t\t\t\t\tPlace Number\n\t\t\t\t</th>\n\t\t\t\t<th>\n\t\t\t\t\tActions\n\t\t\t\t</th>\n\t\t\t</tr>\n\t\t</thead>\n\t\t<tbody>\n')
        for area in areas:
            __M_writer('\t\t\t\t<tr>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t<paper-checkbox></paper-checkbox>\n\t\t\t\t\t</td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t')
            __M_writer(str( area.name ))
            __M_writer('\n\t\t\t\t\t</td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t')
            __M_writer(str( area.place_number ))
            __M_writer('\n\t\t\t\t\t</td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t<a class="button" href="/events/events.edit/')
            __M_writer(str( event.id ))
            __M_writer('">\n\t\t\t\t\t\t\t<paper-button raised class="success_button">Event Info</paper-button>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t\t<a class="button" href="/events/areas.edit/')
            __M_writer(str( event.id ))
            __M_writer('/')
            __M_writer(str( area.id ))
            __M_writer('">\n\t\t\t\t\t\t\t<paper-button raised class="edit_button">Edit</paper-button>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t\t<a class="button" href="/events/areas.delete/')
            __M_writer(str( event.id ))
            __M_writer('/')
            __M_writer(str( area.id ))
            __M_writer('">\n\t\t\t\t\t\t\t<paper-button raised class="delete_button">Delete</paper-button>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n')
        __M_writer('\t\t</tbody>\n\t</table>\t\n')
        __M_writer('\n')
        __M_writer('\t<div class="spacer"></div>\n\t<div class="spacer"></div>\n\t<div class="spacer"></div>\n')
        __M_writer('\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_tab_title(context,**pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        event = context.get('event', UNDEFINED)
        def tab_title():
            return render_tab_title(context)
        __M_writer = context.writer()
        __M_writer('\n  Areas for ')
        __M_writer(str( event.event_template.name ))
        __M_writer('\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


"""
__M_BEGIN_METADATA
{"filename": "/Users/spencerlowe/PycharmProjects/chef-master/events/templates/areas.html", "line_map": {"174": 157, "136": 25, "137": 28, "142": 49, "143": 51, "144": 53, "145": 56, "146": 59, "147": 74, "148": 77, "149": 79, "150": 82, "151": 100, "152": 103, "153": 106, "154": 108, "27": 0, "156": 112, "157": 130, "158": 131, "159": 136, "160": 136, "161": 139, "162": 139, "155": 110, "164": 142, "163": 142, "166": 145, "167": 145, "168": 145, "169": 148, "170": 148, "171": 148, "172": 148, "45": 7, "46": 9, "175": 159, "176": 163, "189": 11, "51": 13, "182": 11, "56": 19, "61": 23, "190": 12, "191": 12, "197": 191, "71": 15, "78": 15, "79": 16, "80": 16, "81": 17, "82": 17, "83": 18, "84": 18, "90": 28, "173": 154, "165": 145, "97": 28, "98": 32, "99": 33, "100": 33, "101": 36, "102": 38, "103": 40, "104": 40, "105": 47, "111": 21, "118": 21, "119": 22, "120": 22, "126": 25}, "source_encoding": "ascii", "uri": "areas.html"}
__M_END_METADATA
"""
