             args : ['create_branch_and_reset_to_upstream_master', new_branch_name]
             cb   : (err, output) =>
                 @setState(new_branch_name : '')
-                
+
     create_branch_and_reset_to_upstream_master : =>
         store = @redux.getStore(@name)
         @exec

                <p>{@props.current_github_issue.body}</p>
                <a target="_blank" href={@props.current_github_issue.html_url}>Open on Github</a>
            </Panel>
                
    render : ->
        <div>
            <div>
                <h2 style={display:'inline'}>Git Repository at {@props.git_repo_root}</h2>
                <Space/> <Space/>
                <DropdownButton title={'Switch branch from '+@props.current_branch} id='switch_branches'>
                    <MenuItem eventKey="{file}" onSelect={(e)=>@props.actions.setState(show_create_branch_modal:true)}>Create a branch and reset to upstream master</MenuItem>

            remotes                     : rtypes.object
            github_username             : rtypes.string
            github_access_token         : rtypes.string

    propTypes :
        actions : rtypes.object

