<%= form_for(:new,:url=>{:action=>:create}) do |f| %>
<% end %>
<% @img="https://school.oohara.jp/shimoda/kani.png" if(@post.img ==nil) else @img="/img/"+@post.img end %>

画像を変更する

アカウント名

画像を変更する

過去の投稿

通知

<% @count=0 require "base64" @noti.each {|item| if(@count > 1) @hide=" hide-text" else @hide="" end %> <% @count=@count+1 } %>

お気に入り(何件)

<% @count=0 @iine.each{|iine| if(@count > 2) @hide2="hide-text2" else @hide="" end if(iine.flag == 1) @iinedata=Impression.find(iine.kizi_id) @kizi=@iinedata.impression else @iinedata=Consideration.find(iine.kizi_id) @kizi=@iinedata.consideration end @post=User.find_by(account:@iinedata.account) %>
" class="myimg mying2">
<%=@post.account_name%>

<%= @kizi %>

いいね!<%= @iinedata.iine %>
<% @count=@count+1 } %>