pull-right becomes text-right

This commit is contained in:
Brenda Wallace
2019-05-19 11:50:04 +12:00
parent dcfe49901e
commit 13419d37bb
6 changed files with 6 additions and 6 deletions

View File

@@ -19,7 +19,7 @@
%span.help-block
= render partial: "shared/markdown_help"
.actions.pull-right
.actions.text-right
= f.submit 'Post comment', class: 'btn btn-primary'
- if defined?(@post)
.field

View File

@@ -1,4 +1,4 @@
.btn-group.garden_type-actions
= render 'shared/buttons/edit', path: edit_garden_type_path(garden_type)
.pull-right
.text-right
= render 'shared/buttons/delete', path: garden_type_path(garden_type)

View File

@@ -3,7 +3,7 @@
%h3.panel-title
= link_to display_garden_name(garden), garden_path(garden)
- if can? :edit, garden
%a.pull-right{ href: edit_garden_path(garden), role: "button", id: "edit_garden_glyphicon" }
%a.text-right{ href: edit_garden_path(garden), role: "button", id: "edit_garden_glyphicon" }
%span.glyphicon.glyphicon-pencil{ title: "Edit" }
.panel-body{ id: "gardens_panel_body" }
.row

View File

@@ -48,7 +48,7 @@
.row
.col-md-6= render @harvest.default_photo
.col-md-6
= link_to 'View all photos >>', planting_photos_path(@harvest), class: 'pull-right'
= link_to 'View all photos >>', planting_photos_path(@harvest), class: 'text-right'
.row
- @harvest.photos.order(date_taken: :desc).limit(3).each do |photo|
.col-md-3= render('photos/thumbnail', photo: photo)

View File

@@ -1,6 +1,6 @@
- if member.latitude && member.longitude
#membermap
%p.pull-right
%p.text-right
See other members, plantings, seeds and more near
= link_to member.location, place_path(member.location, anchor: "members")
- else

View File

@@ -3,7 +3,7 @@
-# %h3.panel-title
-# = link_to seed, seed
-# - if can? :edit, seed
-# %a.pull-right{ href: edit_seed_path(seed), role: "button", id: "edit_seed_glyphicon" }
-# %a.text-right{ href: edit_seed_path(seed), role: "button", id: "edit_seed_glyphicon" }
-# %span.glyphicon.glyphicon-pencil{ title: "Edit" }
-# .panel-body
-# .row