diff --git a/app/views/admin/seminar_signups/edit.html.erb b/app/views/admin/seminar_signups/edit.html.erb index 75a9555..813f3a3 100644 --- a/app/views/admin/seminar_signups/edit.html.erb +++ b/app/views/admin/seminar_signups/edit.html.erb @@ -100,6 +100,13 @@
<%= f.email_field :email, :class=>"input-block-level", :placeholder=> signup_field.placeholder[I18n.locale], :required => true %>
+
+ +

@@ -321,4 +328,14 @@ $("#seminar_signup_signup_confirmed").on("change",function () { } }) +$("#seminar_signup_is_confirmed").on("change",function () { + if(this.checked){ + dt = new Date(); + format = dt.getFullYear() + "/" + dt.getMonth() + "/" + dt.getDate() + " " + dt.getHours() + ":" + dt.getMinutes(); + $("#seminar_signup_is_confirmed_date").val(format); + }else{ + $("#seminar_signup_is_confirmed_date").val(""); + } +}) + \ No newline at end of file