Initial Redmine tooling and local plugin forks
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<%= error_messages_for 'note' %>
|
||||
|
||||
<div id="note_attributes">
|
||||
<p class="extended-attributes" style="display: none;">
|
||||
<%= f.select :type_id, collection_for_note_types_select %>
|
||||
<label><%= l(:label_date) %>:</label>
|
||||
<%= f.text_field :created_on, :size => 15, :value => (@note.try(:created_on) || Date.today).to_date %><%= f.text_field :note_time, :value => (@note.try(:created_on) || Time.now).to_s(:time), :size => 5 %><%= calendar_for "note_created_on" %>
|
||||
</p>
|
||||
<%= f.text_area :content, :rows => 6, :class => 'wiki-edit' %><%# wikitoolbar_for 'note_content' %>
|
||||
<% if @note && @note.custom_field_values.any? %>
|
||||
<fieldset class="tabular extended-attributes" style="display: none;"><legend><%= l(:label_custom_field_plural) %></legend>
|
||||
<% @note.custom_field_values.each do |value| %>
|
||||
<p>
|
||||
<%= custom_field_tag_with_label :note, value %>
|
||||
</p>
|
||||
<% end -%>
|
||||
</fieldset>
|
||||
<% end %>
|
||||
<fieldset class="extended-attributes" style="display: none;"><legend><%= l(:label_attachment_plural) %></legend>
|
||||
<p id="note_attachments"><%= render :partial => 'attachments/form', :locals => {:container => @note} %></p>
|
||||
</fieldset>
|
||||
</div>
|
||||
Reference in New Issue
Block a user