forked from saurabh/orbit4-5
added default hash for links
This commit is contained in:
parent
e168b01f9b
commit
afde19052e
|
@ -40,9 +40,11 @@
|
||||||
else
|
else
|
||||||
url = @page.external_url_translations[locale]
|
url = @page.external_url_translations[locale]
|
||||||
end
|
end
|
||||||
|
else
|
||||||
|
url = "#"
|
||||||
end
|
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 %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue