mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-11 09:17:20 -04:00
pull-right becomes text-right
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user