<h1><%= t('admin.editing_link') %></h1> <%= flash_messages %> <%= form_for @item, :url => admin_link_path(@item), :html => { :class => 'form' } do |f| %> <%= render :partial => "admin/links/form", :locals => { :f => f } %> <p> <%= f.submit t(:update) %> <%= link_back %> </p> <% end %>