Sha256: 081a8ced326677c9d21e511fa4144d603bd6b18144233d91cbcc5f1959cf81d0

Contents?: true

Size: 1.23 KB

Versions: 13

Compression:

Stored size: 1.23 KB

Contents

<div id="fb-<%= resource.id %>" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-header" id="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
    <h3 id="modal-title"><%= I18n.t('action.publish') %> en Facebook</h3>
  </div>
  <div id="modal-container">
    <%=
      adminpanel_form_for(
        resource,
        url: url_for({
          controller: params[:controller],
          action: :fb_publish,
          id: resource
        }),
        method: :post
      ) do |f|
    %>
      <div class="row-fluid">
        <div class="modal-body">
          <%= f.text_area :fb_message, { 'label' => I18n.t('fb.message') } %>
        </div>
      </div>
      <div class="modal-footer">
        <button id="modal-button" class="btn" data-dismiss="modal" aria-hidden="true">
          <%= I18n.t('action.close') %>
        </button>
        <%=
        f.submit(
          I18n.t('action.publish') + " " + @model.display_name,
          data: {
            :disable_with => I18n.t('action.submitting')
          },
          :id =>"new-#{@model.name.demodulize}-button"
        )
        %>
      </div>
    <% end %>

  </div>
</div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
adminpanel-2.2.5 app/views/shared/_fb_publish_modal.html.erb
adminpanel-2.2.4 app/views/shared/_fb_publish_modal.html.erb
adminpanel-2.2.3 app/views/shared/_fb_publish_modal.html.erb
adminpanel-2.2.2 app/views/shared/_fb_publish_modal.html.erb
adminpanel-2.2.1 app/views/shared/_fb_publish_modal.html.erb
adminpanel-2.2.0 app/views/shared/_fb_publish_modal.html.erb
adminpanel-2.1.7 app/views/shared/_fb_publish_modal.html.erb
adminpanel-2.1.6 app/views/shared/_fb_publish_modal.html.erb
adminpanel-2.1.5 app/views/shared/_fb_publish_modal.html.erb
adminpanel-2.1.3 app/views/shared/_fb_publish_modal.html.erb
adminpanel-2.1.2 app/views/shared/_fb_publish_modal.html.erb
adminpanel-2.1.1 app/views/shared/_fb_publish_modal.html.erb
adminpanel-2.1.0 app/views/shared/_fb_publish_modal.html.erb