Sha256: 5c4ac315752ed95cba7c42a3ecf3e66fa56a26900eccc2638f943c68e3338061
Contents?: true
Size: 605 Bytes
Versions: 1
Compression:
Stored size: 605 Bytes
Contents
- b.comment id: @model.dom_id do |o| - o.user link_to(@model.owner_name, user_path(@model.owner_name)) - avatar_img = image_tag(Models::User.avatar_url(@model.owner_name), onerror: "this.style.display = 'none'") - o.avatar link_to(avatar_img, user_path(@model.owner_name)) - o.details render_item_details(@model, skip: :comments) - o.text @model.text - o.controls do |a| - a.add link_to(t(:edit), edit_path(@model, format: :js)) if can? :update, @model - a.add link_to(t(:delete), destroy_path(@model, format: :js), method: :post, confirm: t(:are_you_shure)) if can? :destroy, @model
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rad_kit-0.0.10 | app/views/controllers/comments/show.html.haml |