oops; put impress_user field on model-a-pet homepage form

This commit is contained in:
Emi Matchu 2014-01-20 16:03:40 -06:00
parent b0b840741b
commit 8ace3111f7

View file

@ -61,6 +61,7 @@
%h4= t '.modeling_hub.tagline'
%p= t '.modeling_hub.description'
= form_tag remote_load_pet_path, method: 'POST' do
= hidden_field_tag 'impress_user', current_user.try(:id)
= hidden_field_tag 'redirect', "#{root_url}\#{q}"
= pet_name_tag :placeholder => t('.modeling_hub.load_pet.placeholder')
= submit_tag t('.modeling_hub.load_pet.submit')