Question: how do i edit the HTML in an index.erb file in sinatra

Question

how do i edit the HTML in an index.erb file in sinatra

Answers 0
Added at 2016-12-21 03:12
Tags
Question

``` How do i go about editing the HTML in an index.erb file in sinatra? keep in mind ive never used sinatra before so this is my first experience. ive been staring at this for hours and im still no where near the penny dropping.

<% @profile.each do |field, value| %>
<div class="profile-section box">
  <h4><%= field %></h4>
  <p class="profile-value"><%= value %></p>
</div>
Answers
Source Show
◀ Wstecz