##// END OF EJS Templates
Fixed: Check All / Uncheck All in Email Settings doesn't work (#1180)....
Fixed: Check All / Uncheck All in Email Settings doesn't work (#1180). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1429 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1412:75d25b7e61c1
r1414:4c6b9d9ce506
Show More
_edit.rhtml
50 lines | 2.4 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Merged IssuesController #edit and #update into a single actions....
r1115 <% labelled_tabular_form_for :issue, @issue,
:url => {:action => 'edit', :id => @issue},
:html => {:id => 'issue-form',
Jean-Philippe Lang
Adds an optional description to attachments....
r1166 :class => nil,
Jean-Philippe Lang
Merged IssuesController #edit and #update into a single actions....
r1115 :multipart => true} do |f| %>
<%= error_messages_for 'issue' %>
<div class="box">
<% if @edit_allowed || !@allowed_statuses.empty? %>
Jean-Philippe Lang
Adds an optional description to attachments....
r1166 <fieldset class="tabular"><legend><%= l(:label_change_properties) %>
Jean-Philippe Lang
Merged IssuesController #edit and #update into a single actions....
r1115 <% if !@issue.new_record? && !@issue.errors.any? && @edit_allowed %>
<small>(<%= link_to l(:label_more), {}, :onclick => 'Effect.toggle("issue_descr_fields", "appear", {duration:0.3}); return false;' %>)</small>
<% end %>
</legend>
<%= render :partial => (@edit_allowed ? 'form' : 'form_update'), :locals => {:f => f} %>
</fieldset>
<% end %>
Jean-Philippe Lang
Fixed: Adding time when Updating a ticket is gone (closes #701)....
r1151 <% if authorize_for('timelog', 'edit') %>
Jean-Philippe Lang
Adds an optional description to attachments....
r1166 <fieldset class="tabular"><legend><%= l(:button_log_time) %></legend>
Jean-Philippe Lang
Fixed: Adding time when Updating a ticket is gone (closes #701)....
r1151 <% fields_for :time_entry, @time_entry, { :builder => TabularFormBuilder, :lang => current_language} do |time_entry| %>
<div class="splitcontentleft">
<p><%= time_entry.text_field :hours, :size => 6, :label => :label_spent_time %> <%= l(:field_hours) %></p>
</div>
<div class="splitcontentright">
<p><%= time_entry.select :activity_id, (@activities.collect {|p| [p.name, p.id]}) %></p>
</div>
Jean-Philippe Lang
Fixed: Update issue form: comment field from log time end out of screen (#1227)....
r1412 <p><%= time_entry.text_field :comments, :size => 60 %></p>
Jean-Philippe Lang
Fixed: Adding time when Updating a ticket is gone (closes #701)....
r1151 <% end %>
</fieldset>
<% end %>
Jean-Philippe Lang
Merged IssuesController #edit and #update into a single actions....
r1115
<fieldset><legend><%= l(:field_notes) %></legend>
<%= text_area_tag 'notes', @notes, :cols => 60, :rows => 10, :class => 'wiki-edit' %>
<%= wikitoolbar_for 'notes' %>
Jean-Philippe Lang
Adds an optional description to attachments....
r1166 <p><%=l(:label_attachment_plural)%><br /><%= render :partial => 'attachments/form' %></p>
Jean-Philippe Lang
Merged IssuesController #edit and #update into a single actions....
r1115 </fieldset>
</div>
<%= f.hidden_field :lock_version %>
<%= submit_tag l(:button_submit) %>
<%= link_to_remote l(:label_preview),
Jean-Philippe Lang
Fixed: wiki and changeset links not displayed when previewing issue description or notes....
r1124 { :url => { :controller => 'issues', :action => 'preview', :project_id => @project, :id => @issue },
Jean-Philippe Lang
Merged IssuesController #edit and #update into a single actions....
r1115 :method => 'post',
:update => 'preview',
:with => 'Form.serialize("issue-form")',
Jean-Philippe Lang
Replaced window.hash= by Element.scrollTo()...
r1122 :complete => "Element.scrollTo('preview')"
Jean-Philippe Lang
Merged IssuesController #edit and #update into a single actions....
r1115 }, :accesskey => accesskey(:preview) %>
<% end %>
<div id="preview" class="wiki"></div>