Add framework for rendering partials
[ci skip]
This commit is contained in:
parent
220c258c68
commit
34d1d1676d
2 changed files with 6 additions and 1 deletions
|
@ -0,0 +1 @@
|
|||
Hello Jared!
|
|
@ -1,6 +1,10 @@
|
|||
= form_errors(@service)
|
||||
|
||||
- if @service.help.present?
|
||||
- byebug
|
||||
|
||||
- if lookup_context.template_exists?(@service.type.underscore, "projects/services", true)
|
||||
= render 'projects/services/mattermost_command_service'
|
||||
- elsif @service.help.present?
|
||||
.well
|
||||
= preserve do
|
||||
= markdown @service.help
|
||||
|
|
Loading…
Reference in a new issue