<%= f.error_messages %>
<%= f.hidden_field :parent_id %>

<p>
<%= f.label :name, "Name" %>
<%= f.text_field :name, :class => 'text' %>
</p>

<% @site_valid_locales.each do |locale| %>
  <p>
  <%= label_tag "link[title]", "#{t('admin.title')} #{locale}" %>
  <%= text_field_tag "link[i18n_variable][#{locale}]", (@i18n_variable[locale] if @i18n_variable), :class => 'text' %>
  </p>
<% end %>

<p>
<%= f.label :is_published, t('admin.is_published') %>
<%= f.radio_button :is_published, true %>Yes <%= f.radio_button :is_published, false %> No
</p>

<p>
<%= f.label :url, "URL" %>
<%= f.text_field :url %>
</p>
