<%= semantic_form_for :index, :method => "post" do |f| %>
<% f.inputs do %> <%= f.autocompleted_input :category_post, :url => home_autocomplete_category_name_path %> <%= f.autocompleted_input :place_post, :url => home_autocomplete_town_name_path %> <%= f.buttons %> <%结束 %> <% 结束 %>
给我这个错误:
<input class="submit" id="index_submit" name="commit" type="submit" value="translation missing: en.formtastic.submit">
有任何想法吗?我认为它不依赖于 yml 文件并且在其他地方有默认值,如果不是,我是否必须向 en.yml 添加值,如果是这样怎么办?
谢谢!