質問編集履歴
1
部分テンプレート_group_list_content.html.hamlを呼び出す_left_content.html.hamlとindex.html.hamlを追加した。
test
CHANGED
File without changes
|
test
CHANGED
@@ -192,6 +192,42 @@
|
|
192
192
|
|
193
193
|
|
194
194
|
|
195
|
+
#index.html.haml
|
196
|
+
|
197
|
+
.wrapper
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
= render "partials/left_content"
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
#_left_content.html.haml
|
206
|
+
|
207
|
+
.side-content
|
208
|
+
|
209
|
+
.side-content__header
|
210
|
+
|
211
|
+
%h5
|
212
|
+
|
213
|
+
= current_user.name
|
214
|
+
|
215
|
+
.side-content__header__icon
|
216
|
+
|
217
|
+
= link_to new_group_path, class: "side-content__header__icon" do
|
218
|
+
|
219
|
+
= fa_icon "pencil-square-o"
|
220
|
+
|
221
|
+
= link_to edit_user_path(current_user), class: "side-content__header__icon" do
|
222
|
+
|
223
|
+
= fa_icon "cog"
|
224
|
+
|
225
|
+
.side-content__group-contents
|
226
|
+
|
227
|
+
= render "partials/group_list_content"
|
228
|
+
|
229
|
+
|
230
|
+
|
195
231
|
|
196
232
|
|
197
233
|
```
|