Sha256: 452c72db65a5951717bc9b9003f11fcb27b2805ae96796d9f15f4c424091782b

Contents?: true

Size: 1.34 KB

Versions: 25

Compression:

Stored size: 1.34 KB

Contents

<div id="twitter-<%= 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 Twitter</h3>
  </div>
  <div id="modal-container">
    <%=
      adminpanel_form_for(
        resource,
        url: url_for({
          controller: params[:controller],
          action: :twitter_publish,
          id: resource
        }),
        method: :post
      ) do |f|
    %>
      <div class="row-fluid">
        <div class="modal-body">
          <%= f.text_area :twitter_message, 'id' => "twitter-message-#{resource.id}", 'label' => I18n.t('twitter.message'), value: resource.share_link, rows: 4, maxlength: 140 %>
        </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 =>"tweet-#{@model.name.demodulize}-button"
        )
        %>
      </div>
    <% end %>

  </div>
</div>

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
adminpanel-3.3.0 app/views/adminpanel/shared/_twitter_publish_modal.html.erb
adminpanel-3.2.1 app/views/adminpanel/shared/_twitter_publish_modal.html.erb
adminpanel-3.2.0 app/views/adminpanel/shared/_twitter_publish_modal.html.erb
adminpanel-3.1.0 app/views/adminpanel/shared/_twitter_publish_modal.html.erb
adminpanel-3.0.0 app/views/adminpanel/shared/_twitter_publish_modal.html.erb
adminpanel-2.6.1 app/views/adminpanel/shared/_twitter_publish_modal.html.erb
adminpanel-2.6.0 app/views/adminpanel/shared/_twitter_publish_modal.html.erb
adminpanel-2.5.5 app/views/adminpanel/shared/_twitter_publish_modal.html.erb
adminpanel-2.5.4 app/views/adminpanel/shared/_twitter_publish_modal.html.erb
adminpanel-2.5.3 app/views/adminpanel/shared/_twitter_publish_modal.html.erb
adminpanel-2.5.2 app/views/adminpanel/shared/_twitter_publish_modal.html.erb
adminpanel-2.5.1 app/views/adminpanel/shared/_twitter_publish_modal.html.erb
adminpanel-2.5.0 app/views/adminpanel/shared/_twitter_publish_modal.html.erb
adminpanel-2.4.3 app/views/adminpanel/shared/_twitter_publish_modal.html.erb
adminpanel-2.4.2 app/views/adminpanel/shared/_twitter_publish_modal.html.erb
adminpanel-2.4.1 app/views/adminpanel/shared/_twitter_publish_modal.html.erb
adminpanel-2.4.0 app/views/adminpanel/shared/_twitter_publish_modal.html.erb
adminpanel-2.3.1 app/views/adminpanel/shared/_twitter_publish_modal.html.erb
adminpanel-2.3.0 app/views/adminpanel/shared/_twitter_publish_modal.html.erb
adminpanel-2.2.5 app/views/shared/_twitter_publish_modal.html.erb