 ##= require './OrderingComplete'
 ##= require './OrderingForm'
 
+ErrorFetching = (props) ->
+    <h1>Error loading event {props.eventCode}</h1>
 
 class Skr.Api.EventCheckout extends Skr.Api.Components.Base
 


    componentWillMount: ->
        @event.fetch(query: {code: @event.code}).then =>
            @cart.addSku(@event.sku)

    getSaleOptions: ->
        _.extend({},

        )

    render: ->
        return <ErrorFetching {...@props} /> if @state.errorFetching

        <div>
            <Lanes.Components.NetworkActivityOverlay model={@event} />
            <Skr.Api.SingleItemCheckout
