5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-02 07:24:17 +00:00

Merge branch 'issue-10512' into 'rails'

fix: la tienda se activa luego de crear el sitio #10512

See merge request sutty/sutty!123
This commit is contained in:
fauno 2023-03-23 21:49:46 +00:00
commit c6e5e6d2b2

View file

@ -104,27 +104,27 @@
%hr/
.form-group#tienda
%h2= t('.tienda.title')
%p.lead
- if site.tienda?
= t('.tienda.help')
- else
= t('.tienda.first_time_html')
.row
.col
.form-group
= f.label :tienda_url
= f.url_field :tienda_url, class: 'form-control'
.col
.form-group
= f.label :tienda_api_key
= f.text_field :tienda_api_key, class: 'form-control'
%hr/
- if site.persisted?
.form-group#tienda
%h2= t('.tienda.title')
%p.lead
- if site.tienda?
= t('.tienda.help')
- else
= t('.tienda.first_time_html')
.row
.col
.form-group
= f.label :tienda_url
= f.url_field :tienda_url, class: 'form-control'
.col
.form-group
= f.label :tienda_api_key
= f.text_field :tienda_api_key, class: 'form-control'
%hr/
.form-group#contact
%h2= t('.contact.title')
%p.lead= t('.contact.help')