mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 13:14:03 +00:00
Specify url input type for client-side validation
This commit is contained in:
parent
58cb62dd6d
commit
4bc783b42c
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@
|
|||
.col-md-8
|
||||
= semantic_form_for(@lodging, url: (@lodging.new_record? ? admin_conference_lodgings_path : admin_conference_lodging_path(@conference.short_title, @lodging))) do |f|
|
||||
= f.input :name, input_html: { autofocus: true}
|
||||
= f.input :website_link
|
||||
= f.input :website_link, input_html: { type: :url }
|
||||
= f.input :description, input_html: { rows: 5, cols: 20, data: { provide: 'markdown-editable' } }, hint: markdown_hint
|
||||
- if @lodging.picture?
|
||||
= image_tag @lodging.picture.thumb.url
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue