Mercurial > hg > soundsoftware-site
view app/views/projects/destroy.html.erb @ 1559:21098b932cb8 feature_1136
Separate out git repo dir and work dir (so as to serve repo dir only)
author | Chris Cannam |
---|---|
date | Thu, 14 Jan 2016 10:27:25 +0000 |
parents | 261b3d9a4903 |
children |
line wrap: on
line source
<%= title l(:label_confirmation) %> <div class="warning"> <p><strong><%=h @project_to_destroy %></strong><br /> <%=l(:text_project_destroy_confirmation)%> <% if @project_to_destroy.descendants.any? %> <br /><%= l(:text_subprojects_destroy_warning, content_tag('strong', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))).html_safe %> <% end %> </p> <p> <%= form_tag(project_path(@project_to_destroy), :method => :delete) do %> <label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label> <%= submit_tag l(:button_delete) %> <%= link_to l(:button_cancel), :controller => 'admin', :action => 'projects' %> <% end %> </p> </div>