Project

General

Profile

Feature #23555 » rm_23555_add_cancel_button.patch

Marius BĂLTEANU, 2017-03-08 07:09

View differences:

app/views/auth_sources/edit.html.erb
<%= labelled_form_for @auth_source, :as => :auth_source, :url => auth_source_path(@auth_source), :html => {:id => 'auth_source_form'} do |f| %>
<%= render :partial => auth_source_partial_name(@auth_source), :locals => { :f => f } %>
<%= submit_tag l(:button_save) %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
app/views/auth_sources/new.html.erb
<%= hidden_field_tag 'type', @auth_source.type %>
<%= render :partial => auth_source_partial_name(@auth_source), :locals => { :f => f } %>
<%= submit_tag l(:button_create) %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
app/views/custom_fields/select_type.html.erb
<% end %>
</p>
</div>
<p><%= submit_tag l(:label_next).html_safe + " &#187;".html_safe, :name => nil %></p>
<p>
<%= submit_tag l(:label_next).html_safe + " &#187;".html_safe, :name => nil %>
<%= link_to l(:button_cancel), url_for(:back) %>
</p>
<% end %>
app/views/documents/new.html.erb
<%= labelled_form_for @document, :url => project_documents_path(@project), :html => {:multipart => true} do |f| %>
<%= render :partial => 'form', :locals => {:f => f} %>
<p><%= submit_tag l(:button_create) %></p>
<p>
<%= submit_tag l(:button_create) %>
<%= link_to l(:button_cancel), url_for(:back) %>
</p>
<% end %>
app/views/enumerations/edit.html.erb
<%= labelled_form_for :enumeration, @enumeration, :url => enumeration_path(@enumeration), :html => {:method => :put, :multipart => true} do |f| %>
<%= render :partial => 'form', :locals => {:f => f} %>
<%= submit_tag l(:button_save) %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
app/views/enumerations/new.html.erb
<%= f.hidden_field :type %>
<%= render :partial => 'form', :locals => {:f => f} %>
<%= submit_tag l(:button_create) %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
app/views/files/new.html.erb
<p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form' %></p>
</div>
<%= submit_tag l(:button_add) %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
app/views/groups/_general.html.erb
<%= labelled_form_for @group, :url => group_path(@group), :html => {:multipart => true} do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
<%= submit_tag l(:button_save) %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
app/views/groups/new.html.erb
<p>
<%= f.submit l(:button_create) %>
<%= f.submit l(:button_create_and_continue), :name => 'continue' %>
<%= link_to l(:button_cancel), url_for(:back) %>
</p>
<% end %>
app/views/issue_categories/edit.html.erb
:url => issue_category_path(@category), :html => {:method => :put} do |f| %>
<%= render :partial => 'issue_categories/form', :locals => { :f => f } %>
<%= submit_tag l(:button_save) %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
app/views/issue_categories/new.html.erb
:url => project_issue_categories_path(@project) do |f| %>
<%= render :partial => 'issue_categories/form', :locals => { :f => f } %>
<%= submit_tag l(:button_create) %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
app/views/issue_statuses/edit.html.erb
<%= labelled_form_for @issue_status do |f| %>
<%= render :partial => 'form', :locals => {:f => f} %>
<%= submit_tag l(:button_save) %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
app/views/issue_statuses/new.html.erb
<%= labelled_form_for @issue_status do |f| %>
<%= render :partial => 'form', :locals => {:f => f} %>
<%= submit_tag l(:button_create) %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
app/views/issues/bulk_edit.html.erb
<% if @values_by_custom_field.present? %>
<div class="flash warning">
<%= l(:warning_fields_cleared_on_bulk_edit) %>:<br />
<%= l(:warning_fields_cleared_on_bulk_edit) %>:<br />
<%= safe_join(@values_by_custom_field.map {|field, ids| content_tag "span", "#{field.name} (#{ids.size})"}, ', ') %>
</div>
<% end %>
......
<% else %>
<%= submit_tag l(:button_submit) %>
<% end %>
<%= link_to l(:button_cancel), url_for(:back) %>
</p>
<% end %>
app/views/issues/new.html.erb
<%= submit_tag l(:button_create) %>
<%= submit_tag l(:button_create_and_continue), :name => 'continue' %>
<%= preview_link preview_new_issue_path(:project_id => @issue.project), 'issue-form' %>
| <%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
<div id="preview" class="wiki"></div>
app/views/my/account.html.erb
<%= call_hook(:view_my_account, :user => @user, :form => f) %>
</fieldset>
<p class="mobile-hide"><%= submit_tag l(:button_save) %></p>
<p class="mobile-hide">
<%= submit_tag l(:button_save) %>
<%= link_to l(:button_cancel), url_for(:back) %>
</p>
</div>
<div class="splitcontentright">
app/views/news/edit.html.erb
<%= render :partial => 'form', :locals => { :f => f } %>
<%= submit_tag l(:button_save) %>
<%= preview_link preview_news_path(:project_id => @project, :id => @news), 'news-form' %>
| <%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
<div id="preview" class="wiki"></div>
app/views/news/new.html.erb
<%= render :partial => 'news/form', :locals => { :f => f } %>
<%= submit_tag l(:button_create) %>
<%= preview_link preview_news_path(:project_id => @project), 'news-form' %>
| <%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
<div id="preview" class="wiki"></div>
app/views/projects/_edit.html.erb
<%= labelled_form_for @project, :html => {:multipart => true} do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
<%= submit_tag l(:button_save) %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
app/views/projects/new.html.erb
<%= render :partial => 'form', :locals => { :f => f } %>
<%= submit_tag l(:button_create) %>
<%= submit_tag l(:button_create_and_continue), :name => 'continue' %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
app/views/projects/settings/_activities.html.erb
</div>
<%= submit_tag l(:button_save) %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
app/views/roles/edit.html.erb
<%= labelled_form_for @role do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
<%= submit_tag l(:button_save) %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
app/views/roles/new.html.erb
<%= labelled_form_for @role do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
<%= submit_tag l(:button_create) %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
app/views/roles/permissions.html.erb
</table>
</div>
<p><%= check_all_links 'permissions_form' %></p>
<p><%= submit_tag l(:button_save) %></p>
<p>
<%= submit_tag l(:button_save) %>
<%= link_to l(:button_cancel), url_for(:back) %>
</p>
<% end %>
app/views/search/index.html.erb
<%= hidden_field_tag 'options', '', :id => 'show-options' %>
</div>
<p><%= submit_tag l(:button_submit) %></p>
<p>
<%= submit_tag l(:button_submit) %>
<%= link_to l(:button_cancel), url_for(:back) %>
</p>
<% end %>
<% if @results %>
app/views/timelog/bulk_edit.html.erb
</div>
</div>
<p><%= submit_tag l(:button_submit) %></p>
<p>
<%= submit_tag l(:button_submit) %>
<%= link_to l(:button_cancel), url_for(:back) %>
</p>
<% end %>
app/views/timelog/edit.html.erb
<%= labelled_form_for @time_entry, :url => time_entry_path(@time_entry), :html => {:multipart => true} do |f| %>
<%= render :partial => 'form', :locals => {:f => f} %>
<%= submit_tag l(:button_save) %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
app/views/timelog/new.html.erb
<%= render :partial => 'form', :locals => {:f => f} %>
<%= submit_tag l(:button_create) %>
<%= submit_tag l(:button_create_and_continue), :name => 'continue' %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
app/views/trackers/_form.html.erb
<!--[eoform:tracker]-->
</div>
<%= submit_tag l(@tracker.new_record? ? :button_create : :button_save) %>
<%= link_to l(:button_cancel), url_for(:back) %>
</div>
<div class="splitcontentright">
app/views/trackers/fields.html.erb
</tbody>
</table>
</div>
<p><%= submit_tag l(:button_save) %></p>
<p>
<%= submit_tag l(:button_save) %>
<%= link_to l(:button_cancel), url_for(:back) %>
</p>
<% @trackers.each do |tracker| %>
<%= hidden_field_tag "trackers[#{tracker.id}][core_fields][]", '' %>
<%= hidden_field_tag "trackers[#{tracker.id}][custom_field_ids][]", '' %>
app/views/users/_general.html.erb
<p><label><%= check_box_tag 'send_information', 1, true %> <%= l(:label_send_information) %></label></p>
<% end -%>
<p><%= submit_tag l(:button_save) %></p>
<% end %>
app/views/users/new.html.erb
<p>
<%= submit_tag l(:button_create) %>
<%= submit_tag l(:button_create_and_continue), :name => 'continue' %>
<%= link_to l(:button_cancel), url_for(:back) %>
</p>
<% end %>
app/views/versions/edit.html.erb
<%= labelled_form_for @version, :html => {:multipart => true} do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
<%= submit_tag l(:button_save) %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
app/views/versions/new.html.erb
<%= labelled_form_for @version, :url => project_versions_path(@project), :html => {:multipart => true} do |f| %>
<%= render :partial => 'versions/form', :locals => { :f => f } %>
<%= submit_tag l(:button_create) %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
app/views/wiki/new.html.erb
</div>
<%= submit_tag(l(:label_next)) %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
app/views/workflows/copy.html.erb
</p>
</fieldset>
<%= submit_tag l(:button_copy) %>
<%= link_to l(:button_cancel), url_for(:back) %>
<% end %>
(2-2/3)