Commit f878b649 authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

fix unwanted contact address reset in the webapp edit form

fix #118
parent 5cda4930
......@@ -54,6 +54,7 @@ class WebappsController < ApplicationController
# call when an inria user wants to create an app
def new
@webapp = Webapp.new
@webapp.contact = current_user.email
@dockeros_name = DockerOs.select(:name).group(:name)
@dockeros = DockerOs.all
end
......
......@@ -28,7 +28,7 @@
<div class="form-group">
<%= f.label :contact, class: "col-sm-2 control-label" %>
<div class="col-sm-5"><%= f.email_field :contact, value: current_user.email, class: "form-control", required: true %></div>
<div class="col-sm-5"><%= f.email_field :contact, class: "form-control", required: true %></div>
</div>
<div class="form-group">
......
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