Browse Source

No more organisation department

remotes/origin/master
echarp 2 years ago
parent
commit
921c891de2
  1. 3
      app/views/orgas/_form.html.haml
  2. 1
      app/views/orgas/show.text.haml

3
app/views/orgas/_form.html.haml

@ -33,9 +33,6 @@
%datalist#cities
- Event.group(:city).order('1 desc').count.each do |r|
%option= r[0]
.field.department
= f.label :department
= f.text_field :department
.field.region.required
= f.label :region
= render partial: '/regions/selector', locals: { f: f }

1
app/views/orgas/show.text.haml

@ -4,7 +4,6 @@
!= display_attr @orga, :place_name
!= display_attr @orga, :address
!= display_attr @orga, :city
!= display_attr @orga, :department
!= display_attr @orga, :region, t(@orga.region.code.present? ? @orga.region.code : @orga.region.name, scope: :countries, default: @orga.region.name)
!= display_attr @orga, :url
!= display_attr @orga, :diaspora

Loading…
Cancel
Save