% flash.each do |key, value| %>
<%= value %>
<% end %>
<%= error_messages_for 'elt' %>
<% form_remote_tag(
:update => 'eltSubs_'+@elt.parent_id,
:url => { :action => 'create', :id => @elt.parent },
:position => 'top',
:before => visual_effect(:BlindUp, "eltNew_#{@elt.parent_id}"),
:loading => "Element.show('eltSubs_#{@elt.parent_id}');
Element.show('eltSubsClose_#{@elt.parent_id}')") do %>
<%= hidden_field 'elt', 'parent_id' %>
<%= text_field 'elt', 'subject' %>
<%= render :partial => '/help',
:locals => { :divId => 'title'+@elt.parent_id,
:content => _('This is the title of your proposition.
If you leave it as it is then it won\'t be displayed (recommanded if your text is short, like in a conversation).') } %>
<%= text_area 'elt', 'body' %>
<%= link_to_function('<< '+_('Modify'),
visual_effect(:BlindDown, 'eltNewWrite_'+@elt.parent_id) \
+visual_effect(:BlindUp, 'eltNewPropose_'+@elt.parent_id)) %>
<%= submit_tag _('Propose!') %>
<% end %>