/ Copyright 2014 Square Inc.
/
/    Licensed under the Apache License, Version 2.0 (the "License");
/    you may not use this file except in compliance with the License.
/    You may obtain a copy of the License at
/
/        http://www.apache.org/licenses/LICENSE-2.0
/
/    Unless required by applicable law or agreed to in writing, software
/    distributed under the License is distributed on an "AS IS" BASIS,
/    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/    See the License for the specific language governing permissions and
/    limitations under the License.

- content_for :shuttle_title do
  = "Locale Association #{@locale_association.id}"
- content_for :file_name do
  = 'views/locale_associations/edit'
- content_for :class do
  = controller_name
- content_for :id do
  = [controller_name, action_name].join('-')
- content_for :footer do
  true

.header
  h1 Editing Locale Association (#{@locale_association.source_rfc5646_locale} => #{@locale_association.target_rfc5646_locale})
hr.divider

= render 'form'

/ Copyright 2014 Square Inc.
/
/    Licensed under the Apache License, Version 2.0 (the "License");
/    you may not use this file except in compliance with the License.
/    You may obtain a copy of the License at
/
/        http://www.apache.org/licenses/LICENSE-2.0
/
/    Unless required by applicable law or agreed to in writing, software
/    distributed under the License is distributed on an "AS IS" BASIS,
/    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/    See the License for the specific language governing permissions and
/    limitations under the License.

- content_for :shuttle_title do
  = "Locale Association #{@locale_association.id}"
- content_for :file_name do
  = 'views/locale_associations/edit'
- content_for :class do
  = controller_name
- content_for :id do
  = [controller_name, action_name].join('-')
- content_for :footer do
  true

.header
  h1 Editing Locale Association (#{@locale_association.source_rfc5646_locale} => #{@locale_association.target_rfc5646_locale})
hr.divider

= render 'form'
= button_to 'Delete', @locale_association, class: 'danger pull-right', data: {:confirm => 'Are you sure?'}, :method => :delete

Add a delete button to locale associations page
Add a delete button to locale associations page

square/shuttle,visoft/shuttle,visoft/shuttle,square/shuttle,visoft/shuttle,square/shuttle,square/shuttle,visoft/shuttle