Added hints to description fields to use markdown syntax, rendered all description fields in the splash as markdown
This commit is contained in:
parent
f6a9142510
commit
8efcd69f3d
15 changed files with 30 additions and 24 deletions
|
|
@ -1,8 +1,7 @@
|
|||
<div class="nested-fields">
|
||||
<%= f.inputs do %>
|
||||
<%= f.input :name %>
|
||||
<%= f.input :description, :input_html => {:rows => 2 }, hint: 'Write about the hotel/place,
|
||||
of what they are offering, about types of rooms, prices and address' %>
|
||||
<%= f.input :description, :input_html => {:rows => 2, data: { provide: "markdown-editable" } }, hint: markdown_hint("Write about the hotel/place, of what they are offering, about types of rooms, prices and address.") %>
|
||||
<%= image_tag f.object.photo(:thumb) if !f.object.photo.blank? %>
|
||||
<%= f.input :photo %>
|
||||
<%= f.input :website_link %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue