<%= form_for @item, url: admin_link_path(@item), remote: true, html: {class: nil} do |f| %>
  <fieldset>
    <legend><%= t('editing.link') %></legend>
    <%= render :partial => "form", :locals => { :f => f } %>
    <div class="form-actions">
      <a href="javascript:$.pageslide.close()" class="btn btn-small"><%= t(:cancel) %></a>
      <%= f.submit t(:update_), class: 'btn btn-primary btn-small' %>
    </div>
  </fieldset>
<% end %>
