1
0
Fork 0
forked from OpenNeo/impress

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' %h4= t '.modeling_hub.tagline'
%p= t '.modeling_hub.description' %p= t '.modeling_hub.description'
= form_tag remote_load_pet_path, method: 'POST' do = 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}" = hidden_field_tag 'redirect', "#{root_url}\#{q}"
= pet_name_tag :placeholder => t('.modeling_hub.load_pet.placeholder') = pet_name_tag :placeholder => t('.modeling_hub.load_pet.placeholder')
= submit_tag t('.modeling_hub.load_pet.submit') = submit_tag t('.modeling_hub.load_pet.submit')