- <%= render :partial => 'edit_form' %>
+
+
+
+
Facets
+ <%= render :partial => 'tabs' %>
+
+
+
+
Danger-zone
+
+ <%= link_to 'Delete location forever', character_path,
+ :class => 'btn btn-danger',
+ :method => :delete,
+ :confirm => 'Are you sure? This action cannot be undone!' %>
+
+
+
+
+
+
+
Editing <%= @location.name %>
+ <%= form_for @location,
+ :url => character_edit_process_path,
+ :html => { :class => 'form-horizontal' } do |form| %>
+
+ <%= render :partial => 'form', :locals => { :f => form } %>
+
+
+ <% end %>
+
diff --git a/app/views/universes/_form.html.erb b/app/views/universes/_form.html.erb
index 26ddaa9e..ff81addd 100644
--- a/app/views/universes/_form.html.erb
+++ b/app/views/universes/_form.html.erb
@@ -1,66 +1,62 @@
-<%= form_for @universe, :url => universe_create_process_path, :html => { :class => 'form-horizontal' } do |f| %>
-
-
- <%= f.label :name, :class => 'control-label' %>
-
- <%= f.text_field :name, :class => 'text_field' %>
- Can't think of a name? Name it after your story!
-
+
+
+ <%= f.label :name, :class => 'control-label' %>
+
+ <%= f.text_field :name, :class => 'text_field' %>
+ Can't think of a name? Name it after your story!
-
- <%= f.label :description, :class => 'control-label' %>
-
- <%= f.text_area :description, :class => 'text_area', :rows => 4, :style => "width: 80%;" %>
-
-
-
-
-
-
- <%= f.label 'Relevant history', :class => 'control-label' %>
-
- <%= f.text_area :history, :class => 'text_area', :rows => 6, :style => "width: 80%;" %>
-
-
-
-
-
-
-
- <%= f.label 'Notes', :class => 'control-label' %>
-
- <%= f.text_area :notes, :class => 'text_area', :rows => 10, :style => "width: 80%;" %>
-
-
-
- <%= f.label 'Private Notes', :class => 'control-label' %>
-
- <%= f.text_area :private_notes, :class => 'text_area', :rows => 8, :style => "width: 80%;" %>
-
- By default, all content is private and only accessible by you. Even if you decide to make something
- public, the private notes section will always be only visible to you, no matter what.
-
-
+
+ <%= f.label :description, :class => 'control-label' %>
+
+ <%= f.text_area :description, :class => 'text_area', :rows => 4, :style => "width: 80%;" %>
-
-
- <%= f.label :privacy, :class => 'control-label' %>
-
- <%= f.select :privacy, [['Private', 'Private'], ['Public', 'Public']] %>
-
- By default, all universes are private, which means only you
- can see them. If you choose to make your
- universe public, all content within it (characters,
- locations, etc) will be visible to anyone on the Internet, regardless of that
- content's individual privacy setting. Even if a universe is marked public, only
- you will have access to edit its contents.
-
-
-
+
+
+
+ <%= f.label 'Relevant history', :class => 'control-label' %>
+
+ <%= f.text_area :history, :class => 'text_area', :rows => 6, :style => "width: 80%;" %>
+
-<% end %>
+
+
+
+
+ <%= f.label 'Notes', :class => 'control-label' %>
+
+ <%= f.text_area :notes, :class => 'text_area', :rows => 10, :style => "width: 80%;" %>
+
+
+
+ <%= f.label 'Private Notes', :class => 'control-label' %>
+
+ <%= f.text_area :private_notes, :class => 'text_area', :rows => 8, :style => "width: 80%;" %>
+
+ By default, all content is private and only accessible by you. Even if you decide to make something
+ public, the private notes section will always be only visible to you, no matter what.
+
+
+
+
+
+
+
+ <%= f.label :privacy, :class => 'control-label' %>
+
+ <%= f.select :privacy, [['Private', 'Private'], ['Public', 'Public']] %>
+
+ By default, all universes are private, which means only you
+ can see them. If you choose to make your
+ universe public, all content within it (characters,
+ locations, etc) will be visible to anyone on the Internet, regardless of that
+ content's individual privacy setting. Even if a universe is marked public, only
+ you will have access to edit its contents.
+
+
+
+