Commit e174607d15eb495383dc91c652101521ff5308a6
1 parent
f4aebb18
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
virtuoso: stylesheet added
Showing
2 changed files
with
19 additions
and
7 deletions
Show diff stats
plugins/virtuoso/views/cms/virtuoso_plugin/_triples_template.html.erb
1 | -<%= required_fields_message %> | |
1 | +<div class="virtuoso-triples-template"> | |
2 | + <%= required_fields_message %> | |
2 | 3 | |
3 | -<%= render :file => 'shared/tiny_mce' %> | |
4 | + <%= render :file => 'shared/tiny_mce' %> | |
4 | 5 | |
5 | -<%= required labelled_form_field(_('Title'), text_field(:article, 'name', :size => '64', :maxlength => 150)) %> | |
6 | -<%= labelled_form_field(_('SPARQL Query'), text_area(:article, :query, :style => 'width: 98%; height: 120px;')) %> | |
7 | -<%= labelled_form_field(_('Template'), text_area(:article, :template, :style => 'width: 98%; height: 200px;', :class => 'mceEditor')) %> | |
6 | + <%= required labelled_form_field(_('Title'), text_field(:article, 'name', :size => '64', :maxlength => 150)) %> | |
7 | + <%= labelled_form_field(_('SPARQL Query'), text_area(:article, :query, :style => 'width: 98%; height: 120px;')) %> | |
8 | 8 | |
9 | -<%= render :partial => 'shared/lead_and_body', :locals => {:tiny_mce => true} %> | |
10 | -<%= render :partial => 'general_fields' %> | |
9 | + <div class="template"> | |
10 | + <span class="label"><%= _('Template') %></span> | |
11 | + <span class="reference" style="float: right;"><a href="https://github.com/Shopify/liquid/wiki/Liquid-for-Designers"><%= _('Template reference') %></a></span> | |
12 | + <span class="input"> | |
13 | + <%= text_area(:article, :template, :style => 'width: 98%; height: 200px;', :class => 'mceEditor') %> | |
14 | + </span> | |
15 | + </div> | |
16 | + | |
17 | + <%= render :partial => 'shared/lead_and_body', :locals => {:tiny_mce => true} %> | |
18 | + <%= render :partial => 'general_fields' %> | |
19 | +</div> | ... | ... |