Skip to content

Commit

Permalink
add header and sidebar links
Browse files Browse the repository at this point in the history
  • Loading branch information
samrund committed May 6, 2015
1 parent ceeb648 commit 4e54fff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
<div class="row">
<div class="col-xs-12">
<header>
<div class="well">header</div>
<div class="well">
<%= link_to 'Redly', root_path %>
</div>
</header>
</div>
</div>
Expand All @@ -29,7 +31,9 @@
</div>
<div class="col-xs-4">
<nav id="sidebar">
<div class="well">sidebar</div>
<div class="well">
<%= link_to 'Submit a new link', new_post_path %>
</div>
</nav>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions app/views/posts/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
<%= f.text_field :link %>
</fieldset>

<fieldset>
<!-- <fieldset>
<%= f.label :body %>
<%= f.text_area :body %>
</fieldset>
</fieldset> -->

<%=f.submit%>

<% end %>

0 comments on commit 4e54fff

Please sign in to comment.