2018-03-05 12:45:36 -05:00
|
|
|
|
2016-02-03 21:38:41 +08:00
|
|
|
|
2018-03-03 21:25:42 -05:00
|
|
|
{ render :partial => 'layouts/head' }
|
2018-03-05 12:33:16 -05:00
|
|
|
<body className="{ current_user ? "authenticated" : "unauthenticated" } controller-{ controller_name } action-{ action_name }">
|
|
|
|
<div className="main" id="react-app"></div>
|
2018-03-03 21:25:42 -05:00
|
|
|
{ yield }
|
|
|
|
{ if current_user }
|
|
|
|
{ # for creating and pulling in topics and synapses }
|
|
|
|
{ if controller_name == 'maps' && action_name == "conversation" }
|
|
|
|
{ render :partial => 'maps/newtopicsecret' }
|
|
|
|
{ else }
|
|
|
|
{ render :partial => 'maps/newtopic' }
|
|
|
|
{ end }
|
|
|
|
{ render :partial => 'maps/newsynapse' }
|
|
|
|
{ render :partial => 'shared/metacodeoptions' }
|
|
|
|
{ end }
|
|
|
|
{ render :partial => 'layouts/foot' }
|