Well

Samples

Basic

0.4ms 412 allocs

Title

I am description

I am body

I am raw_body

View Source
<%= render "shared/well" do |well| %>
  <% well.title "Title" %>
  <% well.description "I am description" %>
  <% well.body "I am body" %>
  <% well.raw_body tag.h2("I am raw_body") %>
<% end %>

Options

Name Required Type Default Description
title
Content Block
description
Content Block
body
Content Block
raw_body
Content Block