fixed human_name warning

This commit is contained in:
David Radcliffe
2011-04-29 21:13:05 +08:00
committed by funkensturm
parent ba3042f98b
commit b442641496
+1 -1
View File
@@ -2,7 +2,7 @@
<div class="yui-u first">
<%= form_for(:digital, :url => { :controller => 'digitals', :action => 'create' }, :html => { :multipart => true }) do |f| %>
<fieldset>
<legend><%= Variant.human_name %> "<%= variant.options_text %>"</legend>
<legend><%= Variant.model_name.human %> "<%= variant.options_text %>"</legend>
<%= f.field_container :current_file do %>
<strong><%=t 'current_file' %>:</strong><br/>