fix message route
This commit is contained in:
parent
cd05d269bd
commit
634dd07769
|
|
@ -1,4 +1,4 @@
|
|||
<%= semantic_form_for([:admin, resource], :url => resource.new_record? ? admin_generic_states_path : "/admin/generic_states/#{resource.id}") do |f| %>
|
||||
<%= semantic_form_for([:admin, resource], :url => resource.new_record? ? admin_generic_states_path : "#{ENV['RAILS_RELATIVE_URL_ROOT']}/admin/generic_states/#{resource.id}") do |f| %>
|
||||
<%= f.semantic_errors *f.object.errors.keys %>
|
||||
<%= f.inputs do %>
|
||||
<%= f.input(:top_message, :input_html => {:maxlength => 10000, :rows=>10, :class => 'autogrow'}) %>
|
||||
|
|
|
|||
Loading…
Reference in New Issue