OSDN Git Service

t#2334:add gc offset
[pettanr/pettanr.git] / app / views / ground_colors / _form.html.erb
index 3d58ef2..b8aadcf 100644 (file)
   <div class="row_break">
   </div>
   <div class="field">
+    <%= f.label :orientation %>
+    <%= f.collection_select :orientation, t_select_items(MagicNumber['ground_color_orientation_items']), :last, :first, :html => {:selected => elm.orientation} %>
+
+    <%= f.label :xy %>
+    <%= f.number_field :xy, elm.field_tag_attributes(:xy, no_attr, :size => 5) %>
+
+    <%= f.label :wh %>
+    <%= f.number_field :wh, elm.field_tag_attributes(:wh, no_attr, :size => 5) %>
+  </div>
+  <div class="row_break">
+  </div>
+  <div class="field">
     <%= f.label :z %>
     <%= f.number_field :z, elm.field_tag_attributes(:z, no_attr, :size => 5) %>
   </div>
@@ -28,6 +40,8 @@
     <%= f.label :t %>
     <%= f.number_field :t, elm.field_tag_attributes(:t, no_attr, :size => 5) %>
   </div>
+  <div class="row_break">
+  </div>
 
   <%= f.hidden_field :panel_id, elm.field_tag_attributes(:panel_id, no_attr) %>
   <% unless elm.new_record?  %>