From 0e276cabb5cf011a91bdec3a41f58ba68a3b005b Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Mon, 11 Mar 2013 02:02:10 -0500 Subject: [PATCH] post universe creation onboarding process --- app/views/universes/_form.html.erb | 1 + app/views/universes/show.html.erb | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/app/views/universes/_form.html.erb b/app/views/universes/_form.html.erb index f4f31621..06f848a4 100644 --- a/app/views/universes/_form.html.erb +++ b/app/views/universes/_form.html.erb @@ -4,6 +4,7 @@ <%= f.label :name, :class => 'control-label' %>
<%= f.text_field :name, :class => 'text_field' %> + Can't think of a name? Name it after your story!
diff --git a/app/views/universes/show.html.erb b/app/views/universes/show.html.erb index b4e5ad58..5dc8bf97 100644 --- a/app/views/universes/show.html.erb +++ b/app/views/universes/show.html.erb @@ -21,3 +21,18 @@ :class => 'btn btn-danger' %>
+<% u = User.find(session[:user]) if session[:user] %> +<% if session[:user] and u.content_count == 1 and u.universes.length == 1 %> +
+

Congratulations, you created your first universe! So... what next?

+

+ Now that you know the basics of how to create, edit, and view your content, you're free to create anything you want! Personally I typically start with characters, but I know some people enjoy starting with a good map full of locations. Or if magic is more your thing, all power to you! +

+

+ Your universe is empty but ready to be filled with stuff now. You'll find everything you could think to fill it with within the Plan menu at the top of the page! +

+

+ Good luck! +

+
+<% end %> \ No newline at end of file