Remove I18n for file_upload html
This commit is contained in:
parent
27fd2d0714
commit
606050627e
File diff suppressed because one or more lines are too long
|
@ -12,14 +12,9 @@
|
||||||
<label for="title" class="control-label error"><%= t 'admin.title' %></label>
|
<label for="title" class="control-label error"><%= t 'admin.title' %></label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<%= f.fields_for :title, (@asset.new_record? ? @asset.build_title : @asset.title) do |f| %>
|
<%= f.fields_for :title, (@asset.new_record? ? @asset.build_title : @asset.title) do |f| %>
|
||||||
<% @site_valid_locales.each do |locale| %>
|
<div>
|
||||||
<%= content_tag :label do -%>
|
<%= f.text_field I18n.locale, :class => "input-large" %>
|
||||||
<div>
|
</div>
|
||||||
<%= I18nVariable.from_locale(locale) %>
|
|
||||||
<%= f.text_field locale, :class => "input-large" %>
|
|
||||||
</div>
|
|
||||||
<% end %>
|
|
||||||
<% end %>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -27,14 +22,9 @@
|
||||||
<label for="description" class="control-label error"><%= t 'admin.description' %></label>
|
<label for="description" class="control-label error"><%= t 'admin.description' %></label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<%= f.fields_for :description, (@asset.new_record? ? @asset.build_description : @asset.description) do |f| %>
|
<%= f.fields_for :description, (@asset.new_record? ? @asset.build_description : @asset.description) do |f| %>
|
||||||
<% @site_valid_locales.each do |locale| %>
|
<div>
|
||||||
<%= content_tag :label do -%>
|
<%= f.text_field I18n.locale, :class => "input-large" %>
|
||||||
<div>
|
</div>
|
||||||
<%= I18nVariable.from_locale(locale) %>
|
|
||||||
<%= f.text_field locale, :class => "input-large" %>
|
|
||||||
</div>
|
|
||||||
<% end %>
|
|
||||||
<% end %>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in New Issue