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.2.14 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.2.13 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.2.12 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.2.11 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.2.10 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.2.9 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.2.8 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.2.7 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.2.6 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.2.5 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.2.4 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.2.3 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.2.2 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.2.1 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb
bullet_train-super_scaffolding-1.2.0 app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.html.erb