UiBibz::Ui::Core::Layouts::Row
Grid systems are used for creating page layouts through a series of rows that house your content. You can read about the doc : Bootstrap doc
# by variable
row content, options, html_options
# or by block
row options, html_options do
content
end
ui_row class: "test" do
ui_col do
ui_text_field "test"
end
ui_col do
ui_text_field "test"
end
end
<div class="test row">
<div class="col">
<input type="text" name="test" id="test" class="form-control">
</div>
<div class="col">
<input type="text" name="test" id="test" class="form-control">
</div>
</div>
ui_row type: :form, class: "test" do
ui_col do
ui_text_field "test"
end
ui_col do
ui_text_field "test"
end
end
<div class="test row">
<div class="col">
<input type="text" name="test" id="test" class="form-control">
</div>
<div class="col">
<input type="text" name="test" id="test" class="form-control">
</div>
</div>