diff options
| author | jpl | 2016-07-29 12:16:56 +0200 |
|---|---|---|
| committer | jpl | 2016-07-29 12:16:56 +0200 |
| commit | 27019472a47185803ccd8abac93b4d50bc0ba671 (patch) | |
| tree | 8d38e4ef7a379bc5b817103cb253304d40808803 | |
| parent | 4a1ca5de810a7d31045e2ed53675965d7cab396b (diff) | |
| download | chouette-core-27019472a47185803ccd8abac93b4d50bc0ba671.tar.bz2 | |
Refs #1295: convert erb to slim (footnotes)
| -rw-r--r-- | app/views/footnotes/_footnote_fields.html.erb | 6 | ||||
| -rw-r--r-- | app/views/footnotes/_footnote_fields.html.slim | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/app/views/footnotes/_footnote_fields.html.erb b/app/views/footnotes/_footnote_fields.html.erb deleted file mode 100644 index 652b6d6af..000000000 --- a/app/views/footnotes/_footnote_fields.html.erb +++ /dev/null @@ -1,6 +0,0 @@ -<%= f.inputs :class => 'nested-fields footnote' do %> - <%= f.input :code, :wrapper_html => { :class => 'col-md-3' } %> - <%= f.input :label, :wrapper_html => { :class => 'col-md-7' } %> - <%= link_to_remove_association t('actions.destroy'), f, :class => 'col-md-2 remove' %> -<% end %> - diff --git a/app/views/footnotes/_footnote_fields.html.slim b/app/views/footnotes/_footnote_fields.html.slim new file mode 100644 index 000000000..ab006cfa9 --- /dev/null +++ b/app/views/footnotes/_footnote_fields.html.slim @@ -0,0 +1,4 @@ += f.inputs :class => 'nested-fields footnote' do + = f.input :code, :wrapper_html => { class: 'col-md-3' } + = f.input :label, :wrapper_html => { class: 'col-md-7' } + = link_to_remove_association t('actions.destroy'), f, class: 'col-md-2 remove'
\ No newline at end of file |
