Patch #25853 » move_delete_and_reset_above_the_list.patch
| app/views/projects/settings/_activities.html.erb | ||
|---|---|---|
|
<%= form_tag(project_enumerations_path(@project), :method => :put, :class => "tabular") do %>
|
||
|
<div class="contextual">
|
||
|
<%= link_to(l(:button_reset), project_enumerations_path(@project),
|
||
|
:method => :delete,
|
||
|
:data => {:confirm => l(:text_are_you_sure)},
|
||
|
:class => 'icon icon-del') %>
|
||
|
</div>
|
||
|
<table class="list">
|
||
|
<thead><tr>
|
||
|
<th><%= l(:field_name) %></th>
|
||
| ... | ... | |
|
<% end %>
|
||
|
</table>
|
||
|
<div class="contextual">
|
||
|
<%= link_to(l(:button_reset), project_enumerations_path(@project),
|
||
|
:method => :delete,
|
||
|
:data => {:confirm => l(:text_are_you_sure)},
|
||
|
:class => 'icon icon-del') %>
|
||
|
</div>
|
||
|
<%= submit_tag l(:button_save) %>
|
||
|
<% end %>
|
||
| app/views/projects/settings/_wiki.html.erb | ||
|---|---|---|
|
<%= error_messages_for 'wiki' %>
|
||
|
<div class="box tabular">
|
||
|
<p><%= f.text_field :start_page, :size => 60, :required => true %>
|
||
|
<em class="info"><%= l(:text_unallowed_characters) %>: , . / ? ; : |</em></p>
|
||
|
</div>
|
||
|
<div class="contextual">
|
||
|
<%= link_to(l(:button_delete), {:controller => 'wikis', :action => 'destroy', :id => @project},
|
||
|
:class => 'icon icon-del') if @wiki && !@wiki.new_record? %>
|
||
|
</div>
|
||
|
<p><%= f.text_field :start_page, :size => 60, :required => true %>
|
||
|
<em class="info"><%= l(:text_unallowed_characters) %>: , . / ? ; : |</em></p>
|
||
|
</div>
|
||
|
<%= submit_tag((@wiki.nil? || @wiki.new_record?) ? l(:button_create) : l(:button_save)) %>
|
||
|
<% end %>
|
||