##// END OF EJS Templates
Reverting commit r1748. Some environments are not allowing the cached file to...
Reverting commit r1748. Some environments are not allowing the cached file to write to public, causing all JavaScript to fail. Javascripts are now cached into a single file for downloads in production mode. #1186 git-svn-id: http://redmine.rubyforge.org/svn/trunk@1771 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1672:898fac293b3d
r1770:8f3a04ce6906
Show More
_edit.rhtml
54 lines | 2.6 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' %>
Jean-Philippe Lang
Do not silently ignore timelog validation failure on issue edit....
r1589 <%= error_messages_for 'time_entry' %>
Jean-Philippe Lang
Merged IssuesController #edit and #update into a single actions....
r1115 <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">
Jean-Philippe Lang
Addq "please select" to activity select box if no activity is set as default (#937)....
r1588 <p><%= time_entry.select :activity_id, activity_collection_for_select_options %></p>
Jean-Philippe Lang
Fixed: Adding time when Updating a ticket is gone (closes #701)....
r1151 </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
Adds custom fields on time entries (#772)....
r1672 <% @time_entry.custom_field_values.each do |value| %>
<p><%= custom_field_tag_with_label :time_entry, value %></p>
<% end %>
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>