質問編集履歴
1
コードの追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,6 +34,14 @@
|
|
34
34
|
|
35
35
|
|
36
36
|
|
37
|
+
```ruby
|
38
|
+
|
39
|
+
#erb
|
40
|
+
|
41
|
+
<input type="hidden" name="sample" value="<%= booking.start_date.strftime("%Y-%m-%d-%H:%M") %>", id='sample',class='sample_class' readonly>
|
42
|
+
|
43
|
+
```
|
44
|
+
|
37
45
|
```js
|
38
46
|
|
39
47
|
//sampleはhtmlのinputのIDです。
|