diff --git a/app/views/pages/_form_link.html.erb b/app/views/pages/_form_link.html.erb index 471f793..0d61764 100644 --- a/app/views/pages/_form_link.html.erb +++ b/app/views/pages/_form_link.html.erb @@ -40,9 +40,11 @@ else url = @page.external_url_translations[locale] end + else + url = "#" end %> - <%= n.text_field locale, class:"input-xlarge change", :value=>url rescue nil %> + <%= n.text_field locale, class:"input-xlarge change", :value=>url rescue "#" %> <% end %> <% end %>