Commit 291feab4 authored by Sally Hall's avatar Sally Hall

Merge branch 'delete_button' into 'master'

Delete button

See merge request !1
parents 6234e9ed 14689a38
......@@ -12,4 +12,8 @@
<%= f.input :bundle_identifier_suffix, hint: "Used in iOS app signing and manifest generation process. Your bundle identifier will look like <span id='bundle_identifier_preview'>edu.duke.colab.99_<span id='bundle_identifier_suffix_preview'>YourCustomSuffix</span></span> (&lsquo;99&rsquo; will be replaced by a numerical ID). This should never be changed once a release is made".html_safe %>
<%= f.button :submit %>
<% if purpose.eql? "edit" %>
<%= link_to"Delete App", app_path(@app), method: :delete, class: "btn btn-danger", data: { confirm: 'Are you certain you want to delete this app?' } %>
<% end %>
<% end %>
<h1>Editing App</h1>
<%= render 'form' %>
<%= render 'form', purpose: 'edit' %>
<%= link_to 'Show', @app %> |
<%= link_to 'Back', apps_path %>
<h1>New App</h1>
<%= render 'form' %>
<%= render 'form', purpose: 'new' %>
<%= link_to 'Back', apps_path %>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment