Sha256: bc27d133a4c8ca6a632067afa3d41024b645c74feb6b2a3a3844bc0a2289a485

Contents?: true

Size: 1.72 KB

Versions: 135

Compression:

Stored size: 1.72 KB

Contents

<% absolutely_abstract_creative_concept = @absolutely_abstract_creative_concept || @creative_concept %>
<% context ||= absolutely_abstract_creative_concept %>
<% collection ||= :completely_concrete_tangible_things %>
<% hide_actions ||= false %>
<% hide_back ||= false %>

<% with_attribute_settings object: tangible_thing do %>
  <tr data-id="<%= tangible_thing.id %>">
    <%= render "shared/tables/checkbox", object: tangible_thing %>
    <%# 🚅 skip this section when scaffolding. %>
    <td><%= render 'shared/attributes/text', attribute: :text_field_value, url: [:account, tangible_thing] %></td>
    <td><%= render 'shared/attributes/boolean', attribute: :boolean_button_value %></td>
    <td><%= render 'shared/attributes/option', attribute: :button_value %></td>
    <td><%= render 'shared/attributes/options', attribute: :multiple_button_values %></td>
    <%# 🚅 stop any skipping we're doing now. %>
    <%# 🚅 super scaffolding will insert new fields above this line. %>
    <td><%= render 'shared/attributes/date_and_time', attribute: :created_at %></td>
    <td class="buttons">
      <% unless hide_actions %>
        <% if can? :edit, tangible_thing %>
          <%= link_to t('.buttons.shorthand.edit'), [:edit, :account, tangible_thing], class: 'button-secondary button-smaller' %>
        <% end %>
        <% if can? :destroy, tangible_thing %>
          <%= button_to t('.buttons.shorthand.destroy'), [:account, tangible_thing], method: :delete, data: { confirm: t('.buttons.confirmations.destroy', model_locales(tangible_thing)) }, class: 'button-secondary button-smaller' %>
        <% end %>
        <%# 🚅 super scaffolding will insert new action model buttons above this line. %>
      <% end %>
    </td>
  </tr>
<% end %>

Version data entries

135 entries across 135 versions & 1 rubygems

Version Path
bullet_train-super_scaffolding-1.10.0 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.9.0 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.8.5 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.8.4 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.8.3 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.8.2 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.8.1 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.8.0 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.7.23 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.7.22 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.7.21 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.7.20 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.7.19 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.7.18 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.7.17 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.7.16 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.7.15 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.7.14 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.7.13 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.7.12 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb