Skip to content

Commit adcfba1

Browse files
author
alex
committed
feat: modify views
1 parent 515ce1e commit adcfba1

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

app/views/boards/edit.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h1>Editing Board</h1>
1+
<h2>Editing Board</h2>
22

33
<%= render 'form', board: @board %>
44

app/views/boards/index.html.erb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
<h1>Welcome to Rails101!</h1>
2+
<p>
3+
<hr/>
14
<p id="notice"><%= notice %></p>
2-
3-
<h1>Boards</h1>
5+
<h2>Boards</h2>
46

57
<table>
68
<thead>

app/views/boards/new.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h1>New Board</h1>
1+
<h2>New Board</h2>
22

33
<%= render 'form', board: @board %>
44

app/views/posts/edit.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h1>Editing Post</h1>
1+
<h2>Editing Post</h2>
22

33
<%= form_with(model: @post, local: true, :url => board_post_path(@board, @post)) do |f| %>
44
<%= render 'form', form: f %>

app/views/posts/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p id="notice"><%= notice %></p>
22

3-
<h1>Posts</h1>
3+
<h2>Posts</h2>
44

55
<table>
66
<thead>

app/views/posts/new.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h1>New Post</h1>
1+
<h2>New Post</h2>
22

33
<%= form_with(model: @post, local: true, :url => board_posts_path(@board)) do |f| %>
44
<%= render 'form', form: f %>

0 commit comments

Comments
 (0)