Skip to content

Commit

Permalink
fix #708
Browse files Browse the repository at this point in the history
Fixed issue #708
#708
  • Loading branch information
ryzokuken authored and jywarren committed Oct 14, 2016
1 parent 27ba4d7 commit 545419c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/editor/post.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<% end %>

<div class="form-group">
<input id="title" tabindex="1" name="title" class="form-control" placeholder="Title" value="<%= if @node then @node.title else params[:title] end %><%= "Question: " if params[:template] == "question" && @node && @node.title == nil %>"/>
<input id="title" tabindex="1" name="title" class="form-control" placeholder="Title" value="<%= if @node then @node.title else params[:title] end %>"/>
</div>

<input id="has_main_image" type="hidden" name="has_main_image" value="<% if @node && @node.main_image %>true<% end %>" />
Expand Down

0 comments on commit 545419c

Please sign in to comment.