search for: jqmwindow

Displaying 1 result from an estimated 1 matches for "jqmwindow".

2011 Nov 18
0
Jquery dialog
...ed. My controller def send_message @message = current_user.messages.build(params[:message]) @message.receiver_id = @user.id respond_to do |format| if @message.save format.html {redirect_to user_url(current_user)} format.js end end end View file %div.jqmWindow#dialog %div.dialog_content -form_for Message.new,:url=>''users_message_path'',:remote=>true do |f| =hidden_field_tag :id,@user.login =f.text_area ''content'',:rows => 10, :cols => 25 =f.submit ''Send'' My js.erb $...