質問編集履歴
1
必要と思われる箇所を追加しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -58,5 +58,39 @@
|
|
58
58
|
end
|
59
59
|
```
|
60
60
|
|
61
|
+
_profile.html.erb
|
62
|
+
```
|
63
|
+
<h1>User info</h1>
|
64
|
+
<div class="profile-container">
|
65
|
+
<table class="table">
|
66
|
+
<thead>
|
67
|
+
<tr>
|
68
|
+
<div class="profile-container">
|
69
|
+
<%= attachment_image_tag user, :profile_image, :fill, 60, 60, fallback: "no_image.jpg", class: "img-circle pull-left profile-thumb" %>
|
70
|
+
</div>
|
71
|
+
</tr>
|
72
|
+
|
73
|
+
<tr>
|
74
|
+
<th>name</th>
|
75
|
+
<th><div class="profile-name"><%= user.name %></div></th>
|
76
|
+
</tr>
|
77
|
+
|
78
|
+
<tr>
|
79
|
+
<th>introduce</th>
|
80
|
+
<th><div class="profile-introduction"><%= user.introduction %></div></th>
|
81
|
+
</tr>
|
82
|
+
|
83
|
+
<!-- <button type="button" class="btn btn-primary btn-block"> -->
|
84
|
+
</thead>
|
85
|
+
</table>
|
86
|
+
</div>
|
87
|
+
|
88
|
+
<div class="botan">
|
89
|
+
<%= link_to "", edit_user_path(current_user), class: "col-xs-12 btn btn-default glyphicon glyphicon-wrench" %><br>
|
90
|
+
</div>
|
91
|
+
```
|
92
|
+
|
93
|
+

|
94
|
+
|
61
95
|
としているのですが、画像を変更することができません
|
62
96
|
アドバイスいただけると幸いです
|