<% if @navigator %> <%= hidden_field_tag :active_navigator_item, @navigator[:id] %> <%= hidden_field_tag :active_navigator_url, @navigator[:url] %> <%= hidden_field_tag :active_navigator_archived, @navigator[:archived] %> <% end %>