1 <%= form_for(elm) do |f| %>
2 <%= render 'system/error_explanation', :obj => elm %>
5 <%= f.label :sheet_id %>
6 <% if elm.new_record? %>
7 <%= f.number_field :sheet_id %>
9 <%= f.number_field :sheet_id, elm.field_tag_attributes(:sheet_id, no_attr) %>
12 <%= f.label :panel_id %>
13 <% if elm.new_record? %>
14 <%= f.number_field :panel_id %>
16 <%= f.number_field :panel_id, elm.field_tag_attributes(:panel_id, no_attr) %>
21 <% if elm.new_record? %>
22 <%= f.number_field :x %>
24 <%= f.number_field :x, elm.field_tag_attributes(:x, no_attr, :size => 5) %>
28 <% if elm.new_record? %>
29 <%= f.number_field :y %>
31 <%= f.number_field :y, elm.field_tag_attributes(:y, no_attr, :size => 5) %>
36 <% if elm.new_record? %>
37 <%= f.number_field :z %>
39 <%= f.number_field :z, elm.field_tag_attributes(:z, no_attr, :size => 5) %>
43 <% if elm.new_record? %>
44 <%= f.number_field :t %>
46 <%= f.number_field :t, elm.field_tag_attributes(:t, no_attr, :size => 5) %>
50 <% unless elm.new_record? %>
51 <%= f.hidden_field :id, elm.field_tag_attributes(:id, no_attr) %>
55 <%= f.submit t('sheet_panels.submit'), :class => "submit" %>