Skip to content

Commit ccfaeee

Browse files
Tlazypandacesswairimu
authored andcommitted
Add alternate text for images
1 parent a9d5d68 commit ccfaeee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/views/editor/rich.html.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@
115115
<p>
116116
<input class="form-control input-lg" type="text" id="alt-text" placeholder="Add alternate text for image" value="<% if @node && @node.main_image.photo_text %><%= @node.main_image.photo_text %><% else %><%= params[:photo_text] %><% end %>"/>
117117
</p>
118+
<p>
119+
<input class="form-control input-lg" type="text" id="alt-text" placeholder="Add alternate text for image" value="<% if @node && @node.main_image.photo_text %><%= @node.main_image.photo_text %><% else %><%= params[:photo_text] %><% end %>"/>
120+
</p>
118121
</div>
119122
</div>
120123
</div>

0 commit comments

Comments
 (0)