This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2010-01-14 10:30:53 +00:00
|
|
|
<%= f.error_messages %>
|
2011-04-13 10:19:51 +00:00
|
|
|
<%= f.hidden_field :parent_id %>
|
2010-01-14 10:30:53 +00:00
|
|
|
|
|
|
|
<p>
|
|
|
|
<%= f.label :name, "Name" %>
|
|
|
|
<%= f.text_field :name, :class => 'text' %>
|
|
|
|
</p>
|
|
|
|
|
2011-04-13 10:19:51 +00:00
|
|
|
<% @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 %>
|
2010-01-14 10:30:53 +00:00
|
|
|
|
|
|
|
<p>
|
2011-04-13 10:19:51 +00:00
|
|
|
<%= f.label :is_published, t('admin.is_published') %>
|
2010-01-14 10:30:53 +00:00
|
|
|
<%= f.radio_button :is_published, true %>Yes <%= f.radio_button :is_published, false %> No
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<%= f.label :url, "URL" %>
|
|
|
|
<%= f.text_field :url %>
|
2011-04-13 10:19:51 +00:00
|
|
|
</p>
|