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) %>
34 <div class="row_break">
38 <% if elm.new_record? %>
39 <%= f.number_field :z %>
41 <%= f.number_field :z, elm.field_tag_attributes(:z, no_attr, :size => 5) %>
45 <% if elm.new_record? %>
46 <%= f.number_field :t %>
48 <%= f.number_field :t, elm.field_tag_attributes(:t, no_attr, :size => 5) %>
51 <div class="row_break">
54 <% unless elm.new_record? %>
55 <%= f.hidden_field :id, elm.field_tag_attributes(:id, no_attr) %>
59 <%= f.submit t('sheet_panels.submit'), :class => "submit" %>