forked from saurabh/orbit4-5
added default hash for links
This commit is contained in:
parent
e168b01f9b
commit
afde19052e
app/views/pages
|
@ -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 %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue