2010-11-11 22:14:14 +01:00
|
|
|
<% form_for(note_edit_form, :html => {
|
|
|
|
|
:id => dom_id(note_edit_form, 'edit_form'),
|
|
|
|
|
:class => "inline-form edit-note-form",
|
2010-11-19 22:45:18 +01:00
|
|
|
:method => :put }) do |f|
|
2010-11-11 22:14:14 +01:00
|
|
|
-%>
|
|
|
|
|
|
2010-11-19 22:45:18 +01:00
|
|
|
<div id="error_status"><%= error_messages_for("note") %></div>
|
|
|
|
|
|
|
|
|
|
<%= f.hidden_field( "project_id" ) %>
|
|
|
|
|
<%= f.text_area( "body", "cols" => 70, "rows" => 15, "tabindex" => 1 ) %>
|
2010-11-11 22:14:14 +01:00
|
|
|
|
|
|
|
|
<div class="submit_box">
|
|
|
|
|
<div class="widgets">
|
|
|
|
|
<button type="submit" class="positive" id="<%= dom_id(note_edit_form, 'submit') %>" tabindex="15">
|
|
|
|
|
<%=image_tag("accept.png", :alt => "") %>
|
|
|
|
|
<%= t 'common.update' %>
|
|
|
|
|
</button>
|
2010-11-19 22:45:18 +01:00
|
|
|
<a href="" class="negative" id="neg_<%=dom_id(note_edit_form, 'edit_form')%>">
|
2010-11-11 22:14:14 +01:00
|
|
|
<%=image_tag("cancel.png", :alt => "") %>
|
|
|
|
|
<%= t 'common.cancel' %>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2010-11-19 22:45:18 +01:00
|
|
|
<br/><br/>
|
|
|
|
|
|
|
|
|
|
<% end -%>
|