Revision 1297:0a574315af3e .svn/pristine/9b
| .svn/pristine/9b/9b7d0e978d85027fc3c38edae47010ac6e42844a.svn-base | ||
|---|---|---|
| 1 |
<%= wiki_page_breadcrumb(@page) %> |
|
| 2 |
|
|
| 3 |
<h2><%=h @page.pretty_title %></h2> |
|
| 4 |
|
|
| 5 |
<%= form_tag({}, :method => :delete) do %>
|
|
| 6 |
<div class="box"> |
|
| 7 |
<p><strong><%= l(:text_wiki_page_destroy_question, :descendants => @descendants_count) %></strong></p> |
|
| 8 |
<p><label><%= radio_button_tag 'todo', 'nullify', true %> <%= l(:text_wiki_page_nullify_children) %></label><br /> |
|
| 9 |
<label><%= radio_button_tag 'todo', 'destroy', false %> <%= l(:text_wiki_page_destroy_children) %></label> |
|
| 10 |
<% if @reassignable_to.any? %> |
|
| 11 |
<br /> |
|
| 12 |
<label><%= radio_button_tag 'todo', 'reassign', false %> <%= l(:text_wiki_page_reassign_children) %></label>: |
|
| 13 |
<%= label_tag "reassign_to_id", l(:description_wiki_subpages_reassign), :class => "hidden-for-sighted" %> |
|
| 14 |
<%= select_tag 'reassign_to_id', wiki_page_options_for_select(@reassignable_to), |
|
| 15 |
:onclick => "$('#todo_reassign').attr('checked', true);" %>
|
|
| 16 |
<% end %> |
|
| 17 |
</p> |
|
| 18 |
</div> |
|
| 19 |
|
|
| 20 |
<%= submit_tag l(:button_apply) %> |
|
| 21 |
<%= link_to l(:button_cancel), :controller => 'wiki', :action => 'show', :project_id => @project, :id => @page.title %> |
|
| 22 |
<% end %> |
|
| .svn/pristine/9b/9b843f660807b90656bbd6635e8bb719ad266d28.svn-base | ||
|---|---|---|
| 1 |
class Developer < ActiveRecord::Base |
|
| 2 |
has_and_belongs_to_many :projects |
|
| 3 |
end |
|
| 4 |
|
|
| 5 |
class DeVeLoPeR < ActiveRecord::Base |
|
| 6 |
self.table_name = "developers" |
|
| 7 |
end |
|
| .svn/pristine/9b/9bdf7b885be4ba2ccadd56bbea9c36bce8e2c4a3.svn-base | ||
|---|---|---|
| 1 |
class AddAuthSourcesTimeout < ActiveRecord::Migration |
|
| 2 |
def up |
|
| 3 |
add_column :auth_sources, :timeout, :integer |
|
| 4 |
end |
|
| 5 |
|
|
| 6 |
def self.down |
|
| 7 |
remove_column :auth_sources, :timeout |
|
| 8 |
end |
|
| 9 |
end |
|
Also available in: Unified diff