<%= form_for(elm) do |f| %> <%= render 'system/error_explanation', :obj => elm %>
<%= f.label :caption %> <%= f.text_field :caption, elm.field_tag_attributes(:caption, no_attr) %>
<%= f.label :x %> <%= f.number_field :x, elm.field_tag_attributes(:x, no_attr, :size => 5) %>
<%= f.label :y %> <%= f.number_field :y, elm.field_tag_attributes(:y, no_attr, :size => 5) %>
<%= f.label :z %> <%= f.number_field :z, elm.field_tag_attributes(:z, no_attr, :size => 5) %>
<%= f.label :t %> <%= f.number_field :t, elm.field_tag_attributes(:t, no_attr, :size => 5) %>
<%= f.label :width %> <%= f.number_field :width, elm.field_tag_attributes(:width, no_attr, :size => 5) %>
<%= f.label :height %> <%= f.number_field :height, elm.field_tag_attributes(:height, no_attr, :size => 5) %>
<%= f.label :link %> <%= f.text_field :link, elm.field_tag_attributes(:link, no_attr) %>
<%= 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? %> <%= f.hidden_field :id, elm.field_tag_attributes(:id, no_attr) %> <% end %>
<%= f.submit t('panel_pictures.submit'), :class => "submit" %>
<% end %>