From 8f6442ece3b8acaaf31c56571c3d1e75c14d5156 Mon Sep 17 00:00:00 2001 From: f Date: Thu, 12 Sep 2019 15:11:55 -0300 Subject: [PATCH] limpieza --- app/views/application/markdown.haml | 2 +- app/views/invitadxs/new.haml | 39 ----------------------------- 2 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 app/views/invitadxs/new.haml diff --git a/app/views/application/markdown.haml b/app/views/application/markdown.haml index 3a50d0a..7496f06 100644 --- a/app/views/application/markdown.haml +++ b/app/views/application/markdown.haml @@ -3,7 +3,7 @@ .row .col - %table.table.table-striped.table-responsive-md + %table.table.table-responsive-md %thead %tr %th= t('help.markdown.input') diff --git a/app/views/invitadxs/new.haml b/app/views/invitadxs/new.haml deleted file mode 100644 index bff7e4c..0000000 --- a/app/views/invitadxs/new.haml +++ /dev/null @@ -1,39 +0,0 @@ -.row.align-items-center.justify-content-center.full-height - .col-md-6.align-self-center - - if @invitadx.errors.full_messages.empty? - .alert.alert-dismissible.alert-info.fade.show{role: 'alert'} - = raw CommonMarker.render_doc(@site.config.dig('welcome', 'message') || t('.welcome')).to_html - %button.close{type: 'button', - data: { dismiss: 'alert' }, - 'aria-label': t('help.close') } - %span{'aria-hidden': true} × - - else - .alert.alert-dismissible.alert-info.fade.show{role: 'alert'} - %ul - - @invitadx.errors.messages.each do |_, message| - %li= message - %button.close{type: 'button', - data: { dismiss: 'alert' }, - 'aria-label': t('help.close') } - %span{'aria-hidden': true} × - - = form_for @invitadx do |f| - = f.hidden_field :site, value: @site.id - .form-group - = f.email_field :email, class: 'form-control', placeholder: t('.email') - .form-group - = f.password_field :password, class: 'form-control', placeholder: t('.password') - .form-group - = f.password_field :password_confirmation, class: 'form-control', placeholder: t('.password_confirmation') - - if @site.config.dig('privacy_policy') - .form-check - = f.check_box :acepta_politicas_de_privacidad, - class: 'form-check-input' - = f.label :acepta_politicas_de_privacidad, - raw(t('.acepta_politicas_de_privacidad', - privacy_policy: @site.config['privacy_policy'])), - class: 'form-check-label' - - .form-group - - button = @site.config.dig('welcome', 'button') - = f.submit t('.submit'), class: 'btn btn-lg btn-primary btn-block', style: (button) ? "background-color: #{button};" : ''