Sha256: 5ff7b9274eb6b85df4f565841388d7ac055fd42ab403e143524d60e163f166d2

Contents?: true

Size: 823 Bytes

Versions: 14

Compression:

Stored size: 823 Bytes

Contents

<% if image.blank? %>

<a class="btn btn-xs btn-primary pull-right add-cover-image" href="javascript:;"><span class="fa fa-picture-o"></span> <%= t("views.admin.generic.change_cover") %></a>
<a class="btn btn-xs btn-danger pull-right remove-cover-image hidden" href="javascript:;"><span class="fa fa-trash-o"></span> <%= t("views.admin.administrators.form.remove_cover") %></a>

<% else %>

<a class="btn btn-xs btn-primary pull-right add-cover-image hidden" href="javascript:;"><span class="fa fa-picture-o"></span> <%= t("views.admin.generic.change_cover") %></a>
<a class="btn btn-xs btn-danger pull-right remove-cover-image" href="javascript:;"><span class="fa fa-trash-o"></span> <%= t("views.admin.administrators.form.remove_cover") %></a>

<% end %>

<%= hidden_field_tag :has_cover_image, image.to_s  %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
roroacms-0.0.6.9 app/views/roroacms/admin/partials/_cover_image.html.erb
roroacms-0.0.6.8 app/views/roroacms/admin/partials/_cover_image.html.erb
roroacms-0.0.6.7 app/views/roroacms/admin/partials/_cover_image.html.erb
roroacms-0.0.6.6 app/views/roroacms/admin/partials/_cover_image.html.erb
roroacms-0.0.6.5 app/views/roroacms/admin/partials/_cover_image.html.erb
roroacms-0.0.6.4 app/views/roroacms/admin/partials/_cover_image.html.erb
roroacms-0.0.6.2 app/views/roroacms/admin/partials/_cover_image.html.erb
roroacms-0.0.6.1 app/views/roroacms/admin/partials/_cover_image.html.erb
roroacms-0.0.6 app/views/roroacms/admin/partials/_cover_image.html.erb
roroacms-0.0.5 app/views/roroacms/admin/partials/_cover_image.html.erb
roroacms-0.0.4 app/views/roroacms/admin/partials/_cover_image.html.erb
roroacms-0.0.3 app/views/roroacms/admin/partials/_cover_image.html.erb
roroacms-0.0.2 app/views/roroacms/admin/partials/_cover_image.html.erb
roroacms-0.0.1 app/views/roroacms/admin/partials/_cover_image.html.erb