<% for flatpage in @flatpages %> <% end %>
Title Url Is active
<%= link_to flatpage.title, edit_flatpage_path(flatpage) %> <%=h flatpage.url %> <%= is_active(flatpage.is_active) %>