%= form_for @part, :url => admin_page_part_path(@part) do |f| %> <% LIST[:page_part_kinds].each do |kind| %> <%= f.radio_button :kind, kind, :class => 'part_kind' %> <%= t(kind, :scope => 'page_part_kinds') %> <% end %> <% LIST[:page_part_kinds].each do |kind| %>
<%= f.submit t(:update) %> <%= link_back %>
<% end %>