From 9c4892bfc80ea1b92371cfd4e7c85e5eeadc385b Mon Sep 17 00:00:00 2001 From: rahul Date: Tue, 22 Aug 2017 22:22:31 +0530 Subject: [PATCH] Change room size to capacity --- app/views/admin/rooms/_form.html.haml | 2 +- app/views/admin/rooms/index.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/rooms/_form.html.haml b/app/views/admin/rooms/_form.html.haml index 8e515290..eec272cd 100644 --- a/app/views/admin/rooms/_form.html.haml +++ b/app/views/admin/rooms/_form.html.haml @@ -10,6 +10,6 @@ .col-md-8 = semantic_form_for(@room, url: (@room.new_record? ? admin_conference_venue_rooms_path : admin_conference_venue_room_path(@conference.short_title, @room))) do |f| = f.input :name, input_html: { autofocus: true} - = f.input :size, input_html: {size: 5} + = f.input :size, label: 'Capacity', input_html: {size: 5} %p.text-right = f.action :submit, as: :button, button_html: { class: 'btn btn-primary' } diff --git a/app/views/admin/rooms/index.html.haml b/app/views/admin/rooms/index.html.haml index 8bf682c8..2d1545f6 100644 --- a/app/views/admin/rooms/index.html.haml +++ b/app/views/admin/rooms/index.html.haml @@ -11,7 +11,7 @@ %table.table.table-hover#rooms %thead %th Name - %th Size + %th Capacity %th Actions %tbody - @rooms.each_with_index do |room, index|