In the meanwhile I am using a helper,

  def network_in_place_edit(network_id)
    <<-EOT
      <script type=\"text/javascript\">
      //<![CDATA[

        new Ajax.InPlaceEditor(
          'network_#{network_id}',
          '/networks/set_network_name/#{network_id}',
          {
            size : 8,
            okButton : false,
            externalControl : 'edit_network_#{network_id}'
          }
        );

      //]]>
      </script>
    EOT
  end

- evgeny

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to