Default project should be empty

This commit is contained in:
Matteo Giaccone 2015-08-10 07:36:35 +01:00
parent 8a378aa2c4
commit 336f19c4fe
3 changed files with 13 additions and 1 deletions

View file

@ -22,7 +22,7 @@
<div class="project_input">
<label for="<%= dom_id(@todo, 'project_name') %>"><%= t('common.project') %></label>
<input id="<%= dom_id(@todo, 'project_name') %>" name="project_name" autocomplete="off" size="30" type="text" value="<%= @todo.project.nil? ? 'None' : h(@todo.project.name) %>" />
<input id="<%= dom_id(@todo, 'project_name') %>" name="project_name" autocomplete="off" size="30" type="text" value="<%= @todo.project.nil? ? '' : h(@todo.project.name) %>" />
</div>
<div class="context_input">