app/views/layouts/express_translate/translate.html.erb in express_translate-1.0.7 vs app/views/layouts/express_translate/translate.html.erb in express_translate-1.0.8
- old
+ new
@@ -1,11 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title>Express Translate</title>
- <%= stylesheet_link_tag "express_translate/application", :media => "all" %>
+ <%= stylesheet_link_tag "express_translate/application", :media => "all" %>
<%= javascript_include_tag "express_translate/application" %>
+ <script src="http://localhost:3000/express_translate/i18n/be"></script>
<%= csrf_meta_tags %>
</head>
<body id="express_translate">
<div id="express_translate_body">
@@ -38,12 +39,10 @@
<form class="hidden" id="upload_file_form" target="upload_file_iframe" action="/express_translate/import" enctype='multipart/form-data' method="post">
<input type="file" id="upload_file" name="file_csv"/>
</form>
- <iframe id="upload_file_iframe" name="upload_file_iframe" src="#" style="width:1px; height:1px; opacity:0">
-
- </iframe>
+ <iframe id="upload_file_iframe" name="upload_file_iframe" src="#" style="width:1px; height:1px; opacity:0"></iframe>
</div>
<script>
runJSTranslateLayout();
</script>
\ No newline at end of file