OSDN Git Service

fix manifest
[pettanr/pettanr.git] / app / views / panel_pictures / _form.html.erb
index e0c7047..643e626 100644 (file)
@@ -5,38 +5,50 @@
     <%= f.label :caption %>
     <%= f.text_field :caption, elm.field_tag_attributes(:caption, no_attr) %>
   </div>
+  <div class="row_break">
+  </div>
   <div class="field">
     <%= f.label :x %>
     <%= f.number_field :x, elm.field_tag_attributes(:x, no_attr, :size => 5) %>
-
+  </div>
+  <div class="row_break">
+  </div>
+  <div class="field">
     <%= f.label :y %>
     <%= f.number_field :y, elm.field_tag_attributes(:y, 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>
+  <div class="row_break">
+  </div>
+  <div class="field">
     <%= f.label :t %>
     <%= f.number_field :t, elm.field_tag_attributes(:t, no_attr, :size => 5) %>
   </div>
+  <div class="row_break">
+  </div>
   <div class="field">
     <%= f.label :width %>
     <%= f.number_field :width, elm.field_tag_attributes(:width, no_attr, :size => 5) %>
-    <% if elm.has_helper?(:width) %>
-      <%= render elm.form_helper_template(:width), :elm => elm, :no_attr => no_attr, :opt => {:class => "panel_picture_width_tool"} %>
-    <% end %>
+  </div>
+  <div class="row_break">
   </div>
   <div class="field">
     <%= f.label :height %>
     <%= f.number_field :height, elm.field_tag_attributes(:height, no_attr, :size => 5) %>
-    <% if elm.has_helper?(:height) %>
-      <%= render elm.form_helper_template(:height), :elm => elm, :no_attr => no_attr, :opt => {:class => "panel_picture_height_tool"} %>
-    <% end %>
+  </div>
+  <div class="row_break">
   </div>
   <div class="field">
     <%= f.label :link %>
     <%= f.text_field :link, elm.field_tag_attributes(:link, no_attr) %>
   </div>
+  <div class="row_break">
+  </div>
   <%= f.hidden_field :panel_id, elm.field_tag_attributes(:panel_id, no_attr) %>
   <%= f.hidden_field :picture_id, elm.field_tag_attributes(:picture_id, no_attr) %>
   <% unless elm.new_record?  %>