Sha256: 3caf8773b80373cb9c8dfb80d445555ddac1f74549b337fdaf81b8d7b6e31fa9
Contents?: true
Size: 1.33 KB
Versions: 33
Compression:
Stored size: 1.33 KB
Contents
<% provide(:page_title, I18n.t('fb.pages', name: @name)) %> <% breadcrumb_add( @model.display_name.capitalize.pluralize(I18n.default_locale), { :controller => params[:controller], :action => "index" } ) %> <div class="row-fluid"> <div class = "widget widget-padding span12"> <div class = "widget-header"> <%= content_tag(:i, nil, :class => "fa fa-#{@model.icon}") %> <h5><%= t("action.share", model: @model.display_name) %></h5> </div> <div class = "widget-body"> <div class = "widget-forms clearfix"> <%= adminpanel_form_for( @resource_instance, url: url_for({ controller: params[:controller], action: :fb_save_token, id: @resource_instance, host: request.host }), method: :post ) do |f| %> <%= f.select( :fb_page_access_key, options_for_select(@pages.map{ |p| [ p['name'], p['access_token'] ] }), { 'label' => I18n.t('fb.page_select') } ) %> </div> </div> <div class = "widget-footer"> <%= f.submit t('fb.confirm_page'), data: {:disable_with => t("action.submitting")}, :id =>"save-fb-page-button" %> </div> <% end -%> </div> </div>
Version data entries
33 entries across 33 versions & 1 rubygems