我有以下工作。
<%= semantic_form_for ([:admin,@client]) do |f| %>
<%= f.inputs do %>
<label class="formlabel">Name</label>
<%= f.input :name, :input_html => { :class => 'text-input small-input' }, :label => false, :hint => "Enter Company Name" %>
<% end %>
<%= f.actions %>
<% end %>
这输出以下内容
1 名称文本字段用于输入
并保存
如何删除 Formtastic 中的“1”
提前致谢