Sha256: 23328ea19afbda35d80577b38805ddb596d97782d76a5fe63c747b044a3d50f7
Contents?: true
Size: 1.25 KB
Versions: 4
Compression:
Stored size: 1.25 KB
Contents
<% content_for :header do -%> <h2>Edit project: <%= @project.name %></h2> <% end -%> <div class="actions"> <% if !@project.archived? -%> <%= link_to account_project_archive_path(@project.account, @project), :method => 'post', :confirm => 'Are you sure you want to archive this project?', :class => 'action' do %> <span class="archive_item">Archive this project</span> <% end -%> <% else -%> <%= link_to account_project_archive_path(@project.account, @project), :method => 'delete', :class => 'action' do %> <span class="unarchive_item">Unarchive this project</span> <% end -%> <% end -%> <%= link_to project_path(@project), :method => 'delete', :confirm => 'Are you sure you want to delete this project and all associated content?', :class => 'action' do %> <span class="delete_item">Remove this project</span> <% end -%> </div> <%= render :partial => 'accounts/subnav' %> <%= semantic_form_for @project do |form| %> <%= render 'form', :form => form, :non_admins => current_account.non_admins, :admins => current_account.admins %> <%= form.buttons do %> <%= form.commit_button %> <%= link_to 'Cancel', account_projects_path(current_account) %> <% end %> <% end -%>
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
saucy-0.5.3 | app/views/projects/edit.html.erb |
saucy-0.5.2 | app/views/projects/edit.html.erb |
saucy-0.5.1 | app/views/projects/edit.html.erb |
saucy-0.5.0 | app/views/projects/edit.html.erb |