Removed user dropdown - adding description field and delete button directly into details view
This commit is contained in:
parent
5a203415b0
commit
e2c73511bc
2 changed files with 17 additions and 7 deletions
|
|
@ -7,11 +7,5 @@
|
|||
href=delete_screenshot_path(screenshot.id)
|
||||
onclick="return confirm('Really delete the screenshot?');"
|
||||
] Delete screenshot
|
||||
p Write a description for this screenshot:
|
||||
= form_tag(update_screenshot_description_path(screenshot.package.name, screenshot.id))
|
||||
.input-group
|
||||
= text_field_tag 'description', nil, class: 'input-group-field', maxlength: 40
|
||||
.input-group-button
|
||||
=submit_tag 'OK', class: 'button success'
|
||||
p
|
||||
i =screenshot.status
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue