Add framework for rendering partials

[ci skip]
This commit is contained in:
Z.J. van de Weg 2016-11-18 11:58:29 +01:00
parent 220c258c68
commit 34d1d1676d
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1 @@
Hello Jared!

View file

@ -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