Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby : Event Manager : Valid Html Checks Fixed #28939

Merged
merged 1 commit into from
Oct 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions ruby/files_and_serialization/project_event_manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,8 @@ We have our attendees and their respective representatives. We can now generate
For each attendee we want to include a customized letter that thanks them for attending the conference and provides a list of their representatives. Something that looks like:

```html
<html>
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset='UTF-8'>
<title>Thank You!</title>
Expand Down Expand Up @@ -927,7 +928,8 @@ We could define this template as a large string within our current application.

```ruby
form_letter = %{
<html>
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>Thank You!</title>
</head>
Expand Down Expand Up @@ -1066,7 +1068,8 @@ The convention is to save ERB template files with the extension **erb**. This is
- Update our existing keywords with the ERB escape sequences

```erb
<html>
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset='UTF-8'>
<title>Thank You!</title>
Expand All @@ -1082,7 +1085,7 @@ The convention is to save ERB template files with the extension **erb**. This is

<table>
<% if legislators.kind_of?(Array) %>
<th>Name</th><th>Website</th>
<tr><th>Name</th><th>Website</th></tr>
<% legislators.each do |legislator| %>
<tr>
<td><%= "#{legislator.name}" %></td>
Expand Down
Loading