Skip to content

Commit

Permalink
Add link to create new file instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy committed Mar 11, 2017
1 parent a646021 commit d57d45f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/views/edit/edit.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<%= form_tag action: 'message' do %>

<div class='pull-right'>
<a class='btn btn-success' href='/new/<%= @branch%>'>
<%= fa_icon 'plus' %>
Create new file instead
</a>
</div>

<h1>Suggest a change to <em><%= @filename %></em></h1>

<div class="form-group alert alert-success">
Expand Down

0 comments on commit d57d45f

Please sign in to comment.