Commit c4300b4cb09bfbe8575fb2b40c49862f0ad4ed53
1 parent
58d911e4
Exists in
colab
and in
4 other branches
Changed default value of project image
Signed-off-by: Pedro Scocco <pedroscocco@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/projects/_form.html.erb
| @@ -17,7 +17,7 @@ | @@ -17,7 +17,7 @@ | ||
| 17 | <div class="form-row"> | 17 | <div class="form-row"> |
| 18 | <div class="field-container"> | 18 | <div class="field-container"> |
| 19 | <%= f.label t("image_url"), class: 'control-label' %><br> | 19 | <%= f.label t("image_url"), class: 'control-label' %><br> |
| 20 | - <%= f.text_field :image_url, class: 'text-area', value: @project.attributes.nil? || @project.attributes.image_url.nil? ? '#' : @project.attributes.image_url %> | 20 | + <%= f.text_field :image_url, class: 'text-area', value: @project.attributes.nil? || @project.attributes.image_url.nil? ? '' : @project.attributes.image_url %> |
| 21 | </div> | 21 | </div> |
| 22 | </div> | 22 | </div> |
| 23 | </div> | 23 | </div> |