##// END OF EJS Templates
Convert the file attachment's description to a label....
Convert the file attachment's description to a label. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3750 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3636:e320017cf020
r3636:e320017cf020
Show More
_form.rhtml
43 lines | 2.1 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Enable tracker update on issue edit form (#2405)....
r2994 <div id="issue_descr_fields" <%= 'style="display:none"' unless @issue.new_record? || @issue.errors.any? %>>
Jean-Philippe Lang
ProjectsController#add_issue moved to IssuesController#new....
r1066 <p><%= f.select :tracker_id, @project.trackers.collect {|t| [t.name, t.id]}, :required => true %></p>
Jean-Philippe Lang
Enable tracker update on issue edit form (#2405)....
r2994 <%= observe_field :issue_tracker_id, :url => { :action => :update_form, :project_id => @project, :id => @issue },
:update => :attributes,
Jean-Philippe Lang
ProjectsController#add_issue moved to IssuesController#new....
r1066 :with => "Form.serialize('issue-form')" %>
Jean-Philippe Lang
Issue properties below the description textarea....
r1083 <p><%= f.text_field :subject, :size => 80, :required => true %></p>
Jean-Philippe Lang
Adds subtasking (#443) including:...
r3459
<% unless (@issue.new_record? && @issue.parent_issue_id.nil?) || !User.current.allowed_to?(:manage_subtasks, @project) %>
<p><%= f.text_field :parent_issue_id, :size => 10 %></p>
<div id="parent_issue_candidates" class="autocomplete"></div>
<%= javascript_tag "observeParentIssueField('#{url_for(:controller => :issues,
:action => :auto_complete,
:id => @issue,
:project_id => @project) }')" %>
<% end %>
Jean-Philippe Lang
Makes issue description a non-required field (#2456)....
r2244 <p><%= f.text_area :description,
Jean-Philippe Lang
Issue properties below the description textarea....
r1083 :cols => 60,
:rows => (@issue.description.blank? ? 10 : [[10, @issue.description.length / 50].max, 100].min),
:accesskey => accesskey(:edit),
:class => 'wiki-edit' %></p>
Jean-Philippe Lang
Merged IssuesController #edit and #update into a single actions....
r1115 </div>
Jean-Philippe Lang
Issue properties below the description textarea....
r1083
Jean-Philippe Lang
Enable tracker update on issue edit form (#2405)....
r2994 <div id="attributes" class="attributes">
<%= render :partial => 'attributes' %>
Jean-Philippe Lang
Slight visual changes on the issue form....
r2267 </div>
Jean-Philippe Lang
Content of projects/add_issue.rhtml and issues/edit.rhtml moved to a shared partial....
r800
<% if @issue.new_record? %>
Eric Davis
Convert the file attachment's description to a label....
r3636 <p><%= label_tag('attachments[1][file]', l(:label_attachment_plural))%><%= render :partial => 'attachments/form' %></p>
Jean-Philippe Lang
Content of projects/add_issue.rhtml and issues/edit.rhtml moved to a shared partial....
r800 <% end %>
Jean-Philippe Lang
Adds watchers selection on new issue form (#398). Permission 'add issue watchers' required....
r2162 <% if @issue.new_record? && User.current.allowed_to?(:add_issue_watchers, @project) -%>
Jean-Philippe Lang
Do not hardcode Watcher string in r2164....
r2163 <p><label><%= l(:label_issue_watchers) %></label>
Jean-Philippe Lang
Adds watchers selection on new issue form (#398). Permission 'add issue watchers' required....
r2162 <% @issue.project.users.sort.each do |user| -%>
Jean-Philippe Lang
Make use of #watched_by? in issue form....
r3000 <label class="floating"><%= check_box_tag 'issue[watcher_user_ids][]', user.id, @issue.watched_by?(user) %> <%=h user %></label>
Jean-Philippe Lang
Adds watchers selection on new issue form (#398). Permission 'add issue watchers' required....
r2162 <% end -%>
</p>
<% end %>
Jean-Philippe Lang
Merged hooks branch @ r1785 into trunk....
r1785 <%= call_hook(:view_issues_form_details_bottom, { :issue => @issue, :form => f }) %>
Jean-Philippe Lang
Content of projects/add_issue.rhtml and issues/edit.rhtml moved to a shared partial....
r800 <%= wikitoolbar_for 'issue_description' %>